CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/tools/password/winscp_decrypt.rb
Views: 1904
1
#!/usr/bin/env ruby
2
3
##
4
# This module requires Metasploit: https://metasploit.com/download
5
# Current source: https://github.com/rapid7/metasploit-framework
6
##
7
8
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
9
10
exit unless ARGV.count == 1
11
12
include Rex::Parser::WinSCP
13
14
puts ARGV.first
15
read_and_parse_ini(ARGV.first).each do |res|
16
puts res.inspect
17
end
18
19