Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
7cc9f22e
Commit
7cc9f22e
authored
Jul 13, 2017
by
Damian Montero
Committed by
GitHub
Jul 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #866 from MD5HashBrowns/patch-2
Add metasploit package
parents
2ff156a7
f52dd87e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
packages/metasploit.rb
packages/metasploit.rb
+37
-0
No files found.
packages/metasploit.rb
0 → 100644
View file @
7cc9f22e
require
'package'
class
Metasploit
<
Package
description
'The Metasploit Framework is a tool for developing and executing exploit code against a remote target machine.'
homepage
'https://www.metasploit.com/'
version
'4.14.28'
source_url
'https://github.com/rapid7/metasploit-framework/archive/4.14.28.tar.gz'
source_sha256
'f2bc048542d7cbba16308b5a987718428825b5f00df7e5245543598d9d42a169'
depends_on
'ruby'
depends_on
'readline'
depends_on
'openssl'
depends_on
'libpcap'
depends_on
'postgres'
depends_on
'sqlite'
depends_on
'libxslt'
depends_on
'libxml2'
depends_on
'bison'
def
self
.
build
system
"gem install bundler --conservative"
system
"NOKOGIRI_USE_SYSTEM_LIBRARIES=1"
system
"bundle install"
end
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/share/metasploit-framework/"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"cp -r *
#{
CREW_DEST_DIR
}
/usr/local/share/metasploit-framework"
system
"ln -s /usr/local/share/metasploit-framework/msfconsole
#{
CREW_DEST_DIR
}
/usr/local/bin/msfconsole"
system
"ln -s /usr/local/share/metasploit-framework/msfd
#{
CREW_DEST_DIR
}
/usr/local/bin/msfd"
system
"ln -s /usr/local/share/metasploit-framework/msfrpc
#{
CREW_DEST_DIR
}
/usr/local/bin/msfrpc"
system
"ln -s /usr/local/share/metasploit-framework/msfrpcd
#{
CREW_DEST_DIR
}
/usr/local/bin/msfrpcd"
system
"ln -s /usr/local/share/metasploit-framework/msfupdate
#{
CREW_DEST_DIR
}
/usr/local/bin/msfupdate"
# Doesn't work, but I symlinked it anyway
system
"ln -s /usr/local/share/metasploit-framework/msfvenom
#{
CREW_DEST_DIR
}
/usr/local/bin/msfvenom"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment