Closed yogistudio closed 4 years ago
@yogistudio Please get the latest version
@yogistudio Please get the latest version
root@yogi ~/t/pwcrack-framework (master) [1]# git pull warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the following commands sometime before your next pull:
git config pull.rebase false # merge (the default strategy) git config pull.rebase true # rebase git config pull.ff only # fast-forward only
You can replace "git config" with "git config --global" to set a default preference for all repositories. You can also pass --rebase, --no-rebase, or --ff-only on the command line to override the configured default per invocation.
Already up to date.
head /lib/core.rb
arch linux up to date root@yogi ~# head /lib/core.rb head: cannot open '/lib/core.rb' for reading: No such file or directory root@yogi ~ [1]# find / -name core.rb /opt/metasploit/lib/metasploit/framework/core.rb /opt/metasploit/lib/metasploit/framework/data_service/remote/http/core.rb /opt/metasploit/lib/metasploit/framework/data_service/proxy/core.rb /opt/metasploit/lib/msf/core.rb /opt/metasploit/lib/msf/ui/console/command_dispatcher/core.rb /opt/metasploit/lib/rex/post/hwbridge/ui/console/command_dispatcher/core.rb /opt/metasploit/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb /opt/metasploit/lib/anemone/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/activerecord-4.2.11.3/lib/active_record/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/metasploit-credential-3.0.4/lib/metasploit/credential/exporter/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/metasploit-credential-3.0.4/lib/metasploit/credential/importer/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/metasploit-credential-3.0.4/app/models/metasploit/credential/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /opt/metasploit/vendor/bundle/ruby/2.7.0/gems/rex-core-0.1.13/lib/rex/core.rb /opt/ruby2.6/lib/ruby/2.6.0/json/add/core.rb /opt/ruby2.6/lib/ruby/2.6.0/ripper/core.rb /opt/ruby2.6/lib/ruby/2.6.0/cgi/core.rb /opt/ruby2.6/lib/ruby/gems/2.6.0/gems/rake-12.3.3/lib/rake/ext/core.rb /opt/ruby2.3/lib/ruby/2.3.0/json/add/core.rb /opt/ruby2.3/lib/ruby/2.3.0/ripper/core.rb /opt/ruby2.3/lib/ruby/2.3.0/cgi/core.rb /opt/ruby2.3/lib/ruby/gems/2.3.0/gems/rake-10.4.2/lib/rake/ext/core.rb /opt/wpscan/vendor/bundle/ruby/2.7.0/gems/cms_scanner-0.12.0/app/controllers/core.rb /opt/wpscan/app/controllers/core.rb /usr/lib/ruby/vendor_ruby/2.7.0/svn/core.rb /usr/lib/ruby/gems/2.7.0/gems/rspec-core-3.8.0/lib/rspec/core.rb /usr/lib/ruby/gems/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /usr/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/lib/ruby/2.7.0/json/add/core.rb /usr/lib/ruby/2.7.0/ripper/core.rb /usr/lib/ruby/2.7.0/cgi/core.rb /usr/share/hellraiser/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/core.rb /usr/share/hellraiser/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/share/hellraiser/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3.2/lib/active_record/core.rb /usr/share/hellraiser/vendor/bundle/ruby/2.6.0/gems/activejob-6.0.3.2/lib/active_job/core.rb /usr/share/whatweb/vendor/bundle/ruby/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /usr/share/whatweb/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/share/xspear/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/share/xspear/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /usr/share/dawnscanner/lib/dawn/core.rb /usr/share/fingerprinter/vendor/bundle/ruby/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /usr/share/fingerprinter/vendor/bundle/ruby/2.7.0/gems/cms_scanner-0.12.1/app/controllers/core.rb /usr/share/vane/vendor/bundle/ruby/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /usr/share/beef/core/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/ansi-1.5.0/lib/ansi/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.1/lib/active_record/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /usr/share/beef/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.2/lib/active_record/core.rb /usr/share/beef/extensions/console/lib/command_dispatcher/core.rb /usr/share/cmsscanner/example/vendor/bundle/ruby/2.7.0/gems/cms_scanner-0.6.2/app/controllers/core.rb /usr/share/cmsscanner/example/vendor/bundle/ruby/2.7.0/gems/json-2.3.1/lib/json/add/core.rb /usr/share/cmsscanner/example/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/share/cmsscanner/example/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /usr/share/cmsscanner/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb /usr/share/cmsscanner/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /usr/share/cmsscanner/spec/shared_examples/views/core.rb /usr/share/cmsscanner/app/controllers/core.rb /usr/share/ruby1.8/lib/ruby/gems/1.8/gems/rake-10.4.2/lib/rake/ext/core.rb /usr/share/pentbox/lib/json/json/add/core.rb /usr/share/whitewidow/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /usr/share/arachni/vendor/bundle/ruby/2.3.0/gems/json-2.3.0/lib/json/add/core.rb /usr/share/arachni/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/lib/rake/ext/core.rb /usr/share/arachni/vendor/bundle/ruby/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core.rb /usr/share/wordpress-exploit-framework/lib/wpxf/core.rb /usr/share/wordpress-exploit-framework/vendor/bundle/ruby/2.7.0/gems/sequel-5.32.0/lib/sequel/core.rb /usr/share/wordpress-exploit-framework/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb /usr/share/ruby1.9/lib/ruby/1.9.1/json/add/core.rb /usr/share/ruby1.9/lib/ruby/1.9.1/ripper/core.rb /usr/share/ruby1.9/lib/ruby/1.9.1/rake/ext/core.rb /usr/share/ruby1.9/lib/ruby/1.9.1/cgi/core.rb
head ~/t/pwcrack-framework/lib/core.rb
root@yogi ~ [1]# head ~/tools/pwcrack-framework/lib/core.rb head: cannot open '/root/tools/pwcrack-framework/lib/core.rb' for reading: No such file or directory
Please download the source code again
root@yogi ~/tools# git clone https://github.com/L-codes/pwcrack-framework
Cloning into 'pwcrack-framework'...
remote: Enumerating objects: 323, done.
remote: Counting objects: 100% (323/323), done.
remote: Compressing objects: 100% (275/275), done.
remote: Total 1152 (delta 57), reused 306 (delta 46), pack-reused 829
Receiving objects: 100% (1152/1152), 6.18 MiB | 15.00 KiB/s, done.
Resolving deltas: 100% (739/739), done.
root@yogi ~/tools# cd pwcrack-framework
root@yogi ~/t/pwcrack-framework (master)# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for
all non-root users on this machine.
Using bundler 2.1.4
Using unf_ext 0.0.7.6
Using unf 0.1.4
Using domain_name 0.5.20190701
Using multipart-post 2.1.1
Using faraday 0.17.3
Using http-cookie 1.0.3
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.14.0
Using msgpack 1.3.3
Using rainbow 3.0.0
Using ruby-progressbar 1.10.1
Bundle complete! 5 Gemfile dependencies, 12 gems now installed.
Use bundle info [gemname]
to see where a bundled gem is installed.
root@yogi ~/t/pwcrack-framework (master)# ./pwcrack banner
Traceback (most recent call last):
3: from ./pwcrack:16:in <main>' 2: from ./pwcrack:16:in
require_relative'
1: from /root/tools/pwcrack-framework/lib/core.rb:7:in <top (required)>' /root/tools/pwcrack-framework/lib/core.rb:7:in
require': cannot load such file -- thwait (LoadError)
root@yogi ~/t/pwcrack-framework (master) [1]#
cd /root/tools/pwcrack-framework cat Gemfile.lock git pull bundle install
root@yogi ~/t/pwcrack-framework (master) [1]# cat Gemfile.lock GEM remote: https://gems.ruby-china.com/ specs: domain_name (0.5.20190701) unf (>= 0.0.5, < 1.0.0) faraday (0.17.3) multipart-post (>= 1.2, < 3) faraday-cookie_jar (0.0.6) faraday (>= 0.7.4) http-cookie (~> 1.0.0) faraday_middleware (0.14.0) faraday (>= 0.7.4, < 1.0) http-cookie (1.0.3) domain_name (~> 0.5) msgpack (1.3.3) multipart-post (2.1.1) rainbow (3.0.0) ruby-progressbar (1.10.1) unf (0.1.4) unf_ext unf_ext (0.0.7.6)
PLATFORMS ruby
DEPENDENCIES faraday-cookie_jar (>= 0.0.6) faraday_middleware (>= 0.12.2) msgpack (>= 1.2.6) rainbow (>= 3.0.0) ruby-progressbar (>= 1.10.0)
BUNDLED WITH 2.1.4
你获取的不是最新的源码,你对比一下就知道了 https://github.com/L-codes/pwcrack-framework/blob/master/Gemfile.lock
ruby -version ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
Traceback (most recent call last): 3: from ./pwcrack:16:in
<main>' 2: from ./pwcrack:16:in
require_relative' 1: from /root/tools/pwcrack-framework/lib/core.rb:7:in<top (required)>' /root/tools/pwcrack-framework/lib/core.rb:7:in
require': cannot load such file -- thwait (LoadError)