From: Norbert Moutarde Date: Sat, 10 Aug 2013 10:42:42 +0000 (+0200) Subject: all part is now separed (and I've added qt5 with postgresql driver into qt) X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=a3a539162c5c24da73c05bf7e6839092c4376434;p=get-hack-src.git all part is now separed (and I've added qt5 with postgresql driver into qt) --- diff --git a/get-dwm-fr.sh b/get-dwm-fr.sh new file mode 100755 index 0000000..b834a8d --- /dev/null +++ b/get-dwm-fr.sh @@ -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 + diff --git a/get-hack-src.sh b/get-hack-src.sh index 238a1dd..5acf0a1 100755 --- a/get-hack-src.sh +++ b/get-hack-src.sh @@ -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 index 0000000..1964683 --- /dev/null +++ b/get-metasploit.sh @@ -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 index 0000000..b610a45 --- /dev/null +++ b/get-nmap.sh @@ -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 index 0000000..2d6d302 --- /dev/null +++ b/get-p0f.sh @@ -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 index 0000000..2319e86 --- /dev/null +++ b/get-qt5.sh @@ -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 index 0000000..131042a --- /dev/null +++ b/get-scapy.sh @@ -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 index 0000000..60a63d9 --- /dev/null +++ b/get-sploitego.sh @@ -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 +