Howto:Module Source

From Offensive-security.com

Jump to: navigation, search

Creating a Module from Source Code

A simple example on how to create a module from source code:

bt ~ # wget http://packetstorm.offensive-security.com/Crackers/authforce-0.9.8.tar.gz
--02:51:30--  http://packetstorm.offensive-security.com/Crackers/authforce-0.9.8.tar.gz
           => `authforce-0.9.8.tar.gz'
Resolving packetstorm.offensive-security.com... 62.219.49.20
Connecting to packetstorm.offensive-security.com|62.219.49.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 183,038 (179K) [application/x-gzip]

100%[===================================================>] 183,038      255.38K/s

02:51:31 (254.84 KB/s) - `authforce-0.9.8.tar.gz' saved [183038/183038]

bt ~ # tar zxpf authforce-0.9.8.tar.gz
bt ~ # cd authforce-0.9.8
bt authforce-0.9.8 # ./configure
bt authforce-0.9.8 # make
bt authforce-0.9.8 # checkinstall
...
Creating package authforce-0.9.8-i386-1...OK
...
bt authforce-0.9.8 # tgz2lzm authforce-0.9.8-i386-1.tgz  authforce-0-9-8.lzm
Installing package authforce-0.9.8-i386-1...
PACKAGE DESCRIPTION:
authforce: Package created with checkinstall 1.5.3
Executing install script for authforce-0.9.8-i386-1...

[=========================================] 19/19 100%
bt authforce-0.9.8 #
Personal tools