CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/tools/password/winscp_decrypt.rb
Views: 11766
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