mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
metasploit: WIP, almost working
This commit is contained in:
parent
0c7246a92b
commit
d651e065a4
17 changed files with 190 additions and 11 deletions
1
dev-ruby/faye-websocket/Manifest
Normal file
1
dev-ruby/faye-websocket/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST faye-websocket-0.11.0.gem 19456 BLAKE2B 0f931c129697fbf64c6c5b5c50eb611b74b94263abab7bcf9bb162bed8d09365362510c7d024cadc77c624576dd50dc0ddc8d24edfd0d8a91b0fe89be7598d28 SHA512 9203c4206f0e444aa08ea06ebf750357b024d9e9ec87f617f8a4c1e6d8f6e03bbd919ea732c7240868d61a0dc06e6d38720c9467b9eb7cf3ed89211aefe3f3cd
|
||||
20
dev-ruby/faye-websocket/faye-websocket-0.11.0.ebuild
Normal file
20
dev-ruby/faye-websocket/faye-websocket-0.11.0.ebuild
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Standards-compliant WebSocket server and client"
|
||||
HOMEPAGE="https://github.com/faye/faye-websocket-ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/eventmachine
|
||||
dev-ruby/websocket-driver:*
|
||||
"
|
||||
1
dev-ruby/hrr_rb_ssh/Manifest
Normal file
1
dev-ruby/hrr_rb_ssh/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST hrr_rb_ssh-0.4.2.gem 58368 BLAKE2B c56846b8831dd9193bb8e120a318b0623960c5fe090e6a639948316369ac2493bab4237dd44840f64f8c2ff52cbf8c38859548e2417f675218440f0c6b9cdd5b SHA512 6afd40188f988fa838a3628bda78733d1b85a8972b59b5811db79f062135761d5fc353bd913beb92213a4b898ea749269dbb337bae14817e354b3abcbaf8c3fb
|
||||
15
dev-ruby/hrr_rb_ssh/hrr_rb_ssh-0.4.2.ebuild
Normal file
15
dev-ruby/hrr_rb_ssh/hrr_rb_ssh-0.4.2.ebuild
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Pure Ruby SSH 2.0 server and client implementation"
|
||||
HOMEPAGE="https://github.com/hirura/hrr_rb_ssh"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
1
dev-ruby/io-console/Manifest
Normal file
1
dev-ruby/io-console/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST io-console-0.5.6.gem 23040 BLAKE2B c4d933b54f2dee994e2d7b364ca954fcee3fd2f6b2cc4a5bc3a71427b6dab7f02b6d5608f7fc8d818674cca9f74359f35b2c4d1ce2e6adcf50a4fa7136614cd4 SHA512 caef76758fecb6d8d28a03f503db952dbf29040835219f600cc06b646e2c35f3361747b5d3292941cbd81a0af7b36987642027a9c8a0efa2242077d956e20ca8
|
||||
15
dev-ruby/io-console/io-console-0.5.6.ebuild
Normal file
15
dev-ruby/io-console/io-console-0.5.6.ebuild
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="add console capabilities to IO instances."
|
||||
HOMEPAGE="https://github.com/ruby/io-console"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
1
dev-ruby/irb/Manifest
Normal file
1
dev-ruby/irb/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST irb-1.2.4.gem 60928 BLAKE2B 8423249f8f59eeb169e7c415d2e63ca4216d3bd20d1800939e7474f4fd73dd6efe32d9f117ba822b8e8a05683343b17777d115a570fbf06425eb81236c94e1b5 SHA512 108fee110f4890b7e542cf95bdee1cff06189974df43fce2eae0dad5bf3c5a3469e67a9a589f8f7a2bb3f1061fbeac45e6257ed22aabd0a0d24a05eaaedf3a79
|
||||
20
dev-ruby/irb/irb-1.2.4.ebuild
Normal file
20
dev-ruby/irb/irb-1.2.4.ebuild
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
RUBY_FAKEGEM_BINDIR="exe"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Interactive Ruby command-line tool for REPL"
|
||||
HOMEPAGE="https://github.com/ruby/irb"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/reline
|
||||
"
|
||||
1
dev-ruby/openssl-cmac/Manifest
Normal file
1
dev-ruby/openssl-cmac/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST openssl-cmac-2.0.1.gem 9728 BLAKE2B b3b90c5a8e788754336785345164ac79da312f45b6734fe6629f1c645e9ee6c6ce407de86e28507b52acdcbe4f1c0aef72702e94e99e491a520dcdb0076dc7e1 SHA512 4257eda512477d3d73835b402d551f68796d90151ef029f1017c504dff36a6b2239eee7d33cf2c041788b247de6122cd3e27ec1c27a65dbb04c13857173ff64f
|
||||
15
dev-ruby/openssl-cmac/openssl-cmac-2.0.1.ebuild
Normal file
15
dev-ruby/openssl-cmac/openssl-cmac-2.0.1.ebuild
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby Gem for RFC 4493, 4494, 4615 - The AES-CMAC Algorithm"
|
||||
HOMEPAGE="https://github.com/smalllars/openssl-cmac"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
1
dev-ruby/reline/Manifest
Normal file
1
dev-ruby/reline/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST reline-0.1.4.gem 40960 BLAKE2B af666daa1194edc65c1d65aa9443a0f6ab1efd167e9f3b9c57eed6a69e41748961b0ebe2c3167ade2cc4d764bf35e948955de1f3a7dd534f97211d5d6b408e32 SHA512 e69d356841db666ff6ae3661dd4e9c2aa7947b90a6f425513dac0e5534f01e892e36b466aa9abc4f94df61115f91c85b54beb446f4cd0859875b827ab8f37a54
|
||||
19
dev-ruby/reline/reline-0.1.4.ebuild
Normal file
19
dev-ruby/reline/reline-0.1.4.ebuild
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Alternative GNU Readline or Editline implementation by pure Ruby"
|
||||
HOMEPAGE="https://github.com/ruby/reline/"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/io-console
|
||||
"
|
||||
1
dev-ruby/ruby_smb/Manifest
Normal file
1
dev-ruby/ruby_smb/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST ruby_smb-2.0.4.gem 219136 BLAKE2B 02cac4ba51c0b2c58a9bebecd12b9a35edd2d983d5e0ee26a775ba108ec41df59fd318399b9b1814f011f2246812c0e54809fb7731770603c4d722b3056b8ae7 SHA512 79d4a6bacb531f40f4405b9807a76ba57963d656a5104c0977b20ff79f95c31c0cb17d37d0616f35864c0cf8cb7fdce93ac2d012e16b191585d0bc462fd10c31
|
||||
11
dev-ruby/ruby_smb/metadata.xml
Normal file
11
dev-ruby/ruby_smb/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rapid7/ruby_smb</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
33
dev-ruby/ruby_smb/ruby_smb-2.0.4.ebuild
Normal file
33
dev-ruby/ruby_smb/ruby_smb-2.0.4.ebuild
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="pure Ruby implementation of the SMB Protocol Family"
|
||||
HOMEPAGE="https://github.com/rapid7/ruby_smb"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/bindata:*
|
||||
dev-ruby/openssl-ccm
|
||||
dev-ruby/openssl-cmac
|
||||
dev-ruby/rubyntlm
|
||||
dev-ruby/windows_error"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simple[Cc]ov/d' -e '/coveralls/d' spec/spec_helper.rb
|
||||
sed -i -e '/[Ss]imple[Cc]ov/,/end/d' \
|
||||
-e '/[Cc]overalls/,/end/d' spec/spec_helper.rb
|
||||
sed -i '/TRAVIS/d' spec/spec_helper.rb
|
||||
sed -i -e '1irequire "rubyntlm"; require "time"' spec/spec_helper.rb
|
||||
}
|
||||
|
|
@ -38,16 +38,22 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
|
|||
>=dev-ruby/actionpack-5.2.2:5.2
|
||||
>=dev-ruby/activerecord-5.2.2:5.2
|
||||
>=dev-ruby/activesupport-5.2.2:5.2
|
||||
dev-ruby/backports
|
||||
dev-ruby/bcrypt-ruby
|
||||
dev-ruby/bcrypt_pbkdf
|
||||
dev-ruby/bit-struct
|
||||
dev-ruby/bson
|
||||
dev-ruby/bundler:*
|
||||
dev-ruby/concurrent-ruby
|
||||
dev-ruby/dnsruby
|
||||
dev-ruby/ed25519
|
||||
dev-ruby/em-http-request
|
||||
dev-ruby/eventmachine
|
||||
dev-ruby/faker:0
|
||||
dev-ruby/faraday
|
||||
dev-ruby/faye-websocket
|
||||
dev-ruby/filesize:*
|
||||
dev-ruby/hrr_rb_ssh
|
||||
dev-ruby/irb
|
||||
dev-ruby/jsobfu:*
|
||||
dev-ruby/json:*
|
||||
dev-ruby/metasm:*
|
||||
|
|
@ -59,13 +65,15 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
|
|||
dev-ruby/metasploit_payloads-mettle:1.0.2
|
||||
dev-ruby/mqtt
|
||||
dev-ruby/msgpack
|
||||
dev-ruby/ruby-net-ldap
|
||||
dev-ruby/net-ssh:*
|
||||
dev-ruby/ed25519
|
||||
dev-ruby/network_interface
|
||||
dev-ruby/nokogiri
|
||||
dev-ruby/octokit
|
||||
=dev-ruby/openssl-ccm-1.2*
|
||||
dev-ruby/packetfu:1.1.13
|
||||
dev-ruby/openssl-ccm
|
||||
dev-ruby/packetfu
|
||||
dev-ruby/patch_finder
|
||||
dev-ruby/pcaprub
|
||||
dev-ruby/pdf-reader:*
|
||||
dev-ruby/pg:*
|
||||
dev-ruby/railties:*
|
||||
|
|
@ -92,11 +100,14 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl
|
|||
dev-ruby/rex-zip
|
||||
dev-ruby/ruby-macho
|
||||
dev-ruby/rubyntlm
|
||||
dev-ruby/ruby_smb:*
|
||||
>=dev-ruby/ruby_smb-2.0.0
|
||||
dev-ruby/rubyzip:*
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/sqlite3
|
||||
dev-ruby/sshkey
|
||||
www-servers/thin
|
||||
dev-ruby/tzinfo:*
|
||||
dev-ruby/warden
|
||||
dev-ruby/windows_error
|
||||
dev-ruby/xdr
|
||||
dev-ruby/xmlrpc
|
||||
|
|
@ -121,10 +132,7 @@ ruby_add_bdepend "${RUBY_COMMON_DEPEND}
|
|||
dev-ruby/shoulda-matchers
|
||||
dev-ruby/timecop
|
||||
>=dev-ruby/rake-10.0.0 )
|
||||
|
||||
www-servers/thin
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/warden
|
||||
|
||||
"
|
||||
ruby_add_rdepend "${RUBY_COMMON_DEPEND}"
|
||||
|
||||
|
|
@ -236,7 +244,7 @@ all_ruby_prepare() {
|
|||
eapply_user
|
||||
|
||||
#remove random "cpuinfo" binaries which a only needed to detect which bundled john to run
|
||||
rm -r data/cpuinfo
|
||||
# rm -r data/cpuinfo
|
||||
|
||||
#remove unneeded ruby bundler versioning files
|
||||
#Gemfile.lock contains the versions tested by the msf team but not the hard requirements
|
||||
|
|
@ -264,6 +272,12 @@ all_ruby_prepare() {
|
|||
#if ! use nessus; then
|
||||
sed -i -e "/nessus/d" metasploit-framework.gemspec || die
|
||||
#fi
|
||||
|
||||
#no support for aws-sdk right now
|
||||
#if ! use aws; then
|
||||
sed -i -e "/aws-sdk/d" metasploit-framework.gemspec || die
|
||||
#fi
|
||||
|
||||
#this version is old, remove it
|
||||
sed -i -e "/openvas-omp/d" metasploit-framework.gemspec || die
|
||||
#even if we pass --without=blah bundler still calculates the deps and messes us up
|
||||
|
|
@ -292,6 +306,8 @@ all_ruby_prepare() {
|
|||
sed -i "/'activesupport'/a \ \ spec.add_runtime_dependency 'faraday'" metasploit-framework.gemspec
|
||||
sed -i "/spec.add_runtime_dependency 'faraday'/d" metasploit-framework.gemspec
|
||||
|
||||
sed -i "s|'hrr_rb_ssh', '0.3.0.pre2'|'hrr_rb_ssh'|" metasploit-framework.gemspec
|
||||
|
||||
#let's bogart msfupdate
|
||||
rm msfupdate
|
||||
echo "#!/bin/sh" > msfupdate
|
||||
|
|
|
|||
|
|
@ -28,7 +28,16 @@ dev-ruby/spider
|
|||
dev-ruby/cookiejar
|
||||
dev-ruby/em-http-request
|
||||
dev-ruby/em-socksify
|
||||
dev-ruby/hrr_rb_ssh
|
||||
dev-ruby/irb
|
||||
dev-ruby/reline
|
||||
dev-ruby/io-console
|
||||
dev-ruby/faye-websocket
|
||||
dev-ruby/openssl-cmac
|
||||
=dev-ruby/ruby_smb-2*
|
||||
|
||||
=dev-ruby/bson-4.10*
|
||||
=dev-ruby/ruby-net-ldap-0.16*
|
||||
=dev-ruby/bundler-audit-0.7.0*
|
||||
~dev-ruby/network_interface-0.0.2
|
||||
~dev-ruby/jsobfu-0.4.2
|
||||
|
|
@ -134,7 +143,6 @@ dev-ruby/sprockets:2.2
|
|||
~dev-ruby/rubinius-developer_tools-2.0.0
|
||||
~dev-ruby/rubinius-profiler-2.0.1
|
||||
=dev-ruby/rubyntlm-0.6*
|
||||
=dev-ruby/ruby_smb-1.1*
|
||||
~dev-ruby/sdoc-0.3.20
|
||||
~dev-ruby/shoulda-matchers-2.3.0
|
||||
~dev-ruby/shoulda-matchers-2.6.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue