]> git.nothing2do.fr Git - get-hack-src.git/commitdiff
all part is now separed (and I've added qt5 with postgresql driver into qt)
authorNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Sat, 10 Aug 2013 10:42:42 +0000 (12:42 +0200)
committerNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Sat, 10 Aug 2013 10:42:42 +0000 (12:42 +0200)
get-dwm-fr.sh [new file with mode: 0755]
get-hack-src.sh
get-metasploit.sh [new file with mode: 0755]
get-nmap.sh [new file with mode: 0755]
get-p0f.sh [new file with mode: 0755]
get-qt5.sh [new file with mode: 0755]
get-scapy.sh [new file with mode: 0755]
get-sploitego.sh [new file with mode: 0755]

diff --git a/get-dwm-fr.sh b/get-dwm-fr.sh
new file mode 100755 (executable)
index 0000000..b834a8d
--- /dev/null
@@ -0,0 +1,10 @@
+#dwm
+git clone http://hg.suckless.org/dwm
+cd dwm
+wget http://dwm.suckless.org/patches/dwm-azertykey.diff
+patch -p1 < dwm-azertykey.diff
+#git apply dwm-azertykey.diff don't work only patch work !
+cp config.def.h config.h
+make
+sudo make clean install
+
index 238a1dd9cce3847ac2b8f8cf95b671fc65f80a13..5acf0a1a38650a8596379135d8dc1c5f26af75d6 100755 (executable)
@@ -1,56 +1,33 @@
 WRKDIR=`pwd`/src
-mkdir src
-cd src
-sudo apt-get install build-essential suckless-tools libxinerama-dev xterm mercurial autoconf
-
-#scapy-lbdnet
-wget http://libdnet.googlecode.com/files/libdnet-1.12.tgz
-tar xfz libdnet-1.12.tgz
-cd libdnet*
-./configure
-make
-sudo make install
-cd python
-python setup.py install
-cd $WRKDIR
+mkdir $WRKDIR
+sudo apt-get install build-essential suckless-tools libxinerama-dev xterm mercurial autoconf libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev build-dep libqt4-dev
 
-#scapy-pylibpcap
-wget http://dfn.dl.sourceforge.net/sourceforge/pylibpcap/pylibpcap-0.6.2.tar.gz
-tar xfz pylibpcap-0.6.2.tar.gz
-cd pylibpcap-0.6.2
-python setup.py install
-#scapy-optional
-python `python -c "import pimp; print pimp.__file__"` -i readline
+#scapy
 cd $WRKDIR
-#nmap
-svn co https://svn.nmap.org/nmap
-cd nmap
-./configure&&make&&make install
+get-scapy.sh
 
+#nmap
+cd $WRKDIR
+get-nmap.sh
 
 #p0f
-wget http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.06b.tgz
-tar xzf p0f*
-
+cd $WRKDIR
+get-p0f.sh
 
 #you've to install maltego and configure it !
-#setuptools
-wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
-
-sudo easy_install canari
-#git clone git://github.com/allfro/canari
+#setuptools (easy-install) and canari (the framework sploitego is based on)
+cd $WRKDIR
+get-sploitego.sh
 
-canari install-package sploitego
-#git clone git://github.com/allfro/sploitego
-git clone git://github.com/rapid7/metasploit-framework
+#metasploit
 cd $WRKDIR
+git clone git://github.com/rapid7/metasploit-framework
+
 
 #dwm
-git clone http://hg.suckless.org/dwm
-cd dwm
-wget http://dwm.suckless.org/patches/dwm-azertykey.diff
-patch -p1 < dwm-azertykey.diff
-#git apply dwm-azertykey.diff don't work only patch work !
-cp config.def.h config.h
-make
-sudo make clean install
+cd $WRKDIR
+get-dwm-fr.sh
+
+#qt5
+cd $WRKDIR
+get-qt5.sh
diff --git a/get-metasploit.sh b/get-metasploit.sh
new file mode 100755 (executable)
index 0000000..1964683
--- /dev/null
@@ -0,0 +1 @@
+git clone git://github.com/rapid7/metasploit-framework
diff --git a/get-nmap.sh b/get-nmap.sh
new file mode 100755 (executable)
index 0000000..b610a45
--- /dev/null
@@ -0,0 +1,4 @@
+svn co https://svn.nmap.org/nmap
+cd nmap
+./configure&&make&&make install
+
diff --git a/get-p0f.sh b/get-p0f.sh
new file mode 100755 (executable)
index 0000000..2d6d302
--- /dev/null
@@ -0,0 +1,3 @@
+wget http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.06b.tgz
+tar xzf p0f*
+
diff --git a/get-qt5.sh b/get-qt5.sh
new file mode 100755 (executable)
index 0000000..2319e86
--- /dev/null
@@ -0,0 +1,7 @@
+git clone git://gitorious.org/qt/qt5.git qt5
+cd qt5
+git checkout stable
+./init-repository
+./configure -developer-build -opensource -nomake examples -nomake tests -confirm-license -qt-sql-PGSQL
+#make -j 4
+
diff --git a/get-scapy.sh b/get-scapy.sh
new file mode 100755 (executable)
index 0000000..131042a
--- /dev/null
@@ -0,0 +1,23 @@
+WRKDIR=$HOME/src
+cd $WRKDIR
+
+#scapy-lbdnet
+wget http://libdnet.googlecode.com/files/libdnet-1.12.tgz
+tar xfz libdnet-1.12.tgz
+cd libdnet*
+./configure
+make
+sudo make install
+cd python
+python setup.py install
+cd $WRKDIR
+
+#scapy-pylibpcap
+wget http://dfn.dl.sourceforge.net/sourceforge/pylibpcap/pylibpcap-0.6.2.tar.gz
+tar xfz pylibpcap-0.6.2.tar.gz
+cd pylibpcap-0.6.2
+python setup.py install
+
+#scapy-optional
+python `python -c "import pimp; print pimp.__file__"` -i readline
+cd $WRKDIR
diff --git a/get-sploitego.sh b/get-sploitego.sh
new file mode 100755 (executable)
index 0000000..60a63d9
--- /dev/null
@@ -0,0 +1,8 @@
+wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
+
+sudo easy_install canari
+#git clone git://github.com/allfro/canari
+
+canari install-package sploitego
+#git clone git://github.com/allfro/sploitego
+