mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 11:48:17 +00:00
reversing_tools
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,38 @@
|
||||
class reversing_tools::install {
|
||||
|
||||
Exec { path => ['/bin', '/usr/bin', '/usr/local/bin', '/sbin', '/usr/sbin'] }
|
||||
ensure_packages(['gdb','git'])
|
||||
|
||||
# Install Radare2
|
||||
|
||||
file { '/opt/radare2-2.7.0.tar.gz':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/reversing_tools/radare2-2.7.0.tar.gz',
|
||||
}
|
||||
|
||||
exec { 'unpack r2':
|
||||
cwd => '/opt/',
|
||||
command => 'tar -xzvf radare2-2.7.0.tar.gz',
|
||||
}
|
||||
|
||||
exec { 'configure r2':
|
||||
cwd => '/opt/radare2-2.7.0/',
|
||||
command => '/bin/bash ./configure --prefix=/usr',
|
||||
}
|
||||
|
||||
exec { 'make r2':
|
||||
cwd => '/opt/radare2-2.7.0/',
|
||||
command => '/usr/bin/make -j8',
|
||||
}
|
||||
|
||||
exec { 'make install r2':
|
||||
cwd => '/opt/radare2-2.7.0/',
|
||||
command => 'make install',
|
||||
}
|
||||
|
||||
# Install angr (TODO)
|
||||
|
||||
# Install AFL?(TODO)
|
||||
# Install Driller?(TODO)
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
include reversing_tools::install
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<utility xmlns="http://www.github/cliffe/SecGen/utility"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.github/cliffe/SecGen/utility">
|
||||
<name>Reversing tools</name>
|
||||
<author>Thomas Shaw</author>
|
||||
<module_license>Apache v2</module_license>
|
||||
<description>Installs gdb, radare2 (TODO: and angr) for reverse engineering challenges.</description>
|
||||
|
||||
<type>reversing_tools</type>
|
||||
<platform>linux</platform>
|
||||
|
||||
</utility>
|
||||
@@ -8,6 +8,8 @@
|
||||
<system_name>metactf</system_name>
|
||||
<base platform="linux" type="server" distro="Stretch"/>
|
||||
|
||||
<utility type="reversing_tools"/>
|
||||
|
||||
<utility module_path=".*parameterised_accounts">
|
||||
<input into="accounts" into_datastore="account">
|
||||
<generator type="account">
|
||||
|
||||
Reference in New Issue
Block a user