From 59b69935d7e21266f454986948e125e978ffe906 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 8 Oct 2017 14:11:18 +0300 Subject: [PATCH 01/16] solved: not found kali-linux-wireless kali-linux-sdr --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8d6d6e2..6f015aa 100644 --- a/Makefile +++ b/Makefile @@ -90,8 +90,8 @@ upgrade: #: kali - install Kali Linux repos and soft * kali: - echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list - echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list + echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list + echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list sudo apt-get update -y sudo apt-get install kali-archive-keyring -y sudo apt-get update -y From fa54ee6cee88e3b02e50afc5724d50c9b55a887a Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 8 Oct 2017 14:17:23 +0300 Subject: [PATCH 02/16] libreadline6 not support(replaced by libreadline7) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6f015aa..1ff4687 100644 --- a/Makefile +++ b/Makefile @@ -152,10 +152,10 @@ dev-vcs: ##: dev-build - install build tools and environment dev-build: - @echo "Istalling development tools and environment" + @echo "Installing development tools and environment" @apt-get install -y cmake cmake-data module-assistant build-essential patch g++ gcc gcc-multilib \ dkms patchutils strace wdiff pkg-config automake autoconf flex bison gawk flex gettext \ - linux-source libncurses5-dev libreadline6 libreadline6-dev \ + linux-source libncurses5-dev libreadline7 libreadline6-dev \ libbz2-dev zlib1g-dev fakeroot ncurses-dev libtool libmagickcore-dev libmagick++-dev libmagickwand-dev \ libyaml-dev libxslt1-dev libxml2-dev libxslt-dev libc6-dev python-pip # linux-headers-`uname -r` From b2dd333dbb60fd9fce8f413a6a0fd18494b00d23 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 8 Oct 2017 14:21:14 +0300 Subject: [PATCH 03/16] Repair install Crazyradio --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1ff4687..1b2f107 100644 --- a/Makefile +++ b/Makefile @@ -640,7 +640,7 @@ nrf24-firmware: @echo "Build research firmware for nRF24LU1+" $(MAKE) -C ${TMPDIR}/nrf24-arsenal/mousejack/nrf-research-firmware @echo "Build firmware for Crazyradio" - $(MAKE) -C ${TMPDIR}/nrf24-arsenal/crazyradio-firmware + $(MAKE) -C ${TMPDIR}/nrf24-arsenal/crazyradio-firmware/firmware # TODO: add support for Crazyradio PA via make CRPA=1 # @echo "Use make nrf24-flash-research to flash proper firmware" From 09b461c6c33b2897904fbb1167786b607e4f9079 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 8 Oct 2017 14:24:30 +0300 Subject: [PATCH 04/16] Repair wifi-python --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1b2f107..e6f17a4 100644 --- a/Makefile +++ b/Makefile @@ -238,7 +238,7 @@ libtins: cmake ../ -DLIBTINS_ENABLE_CXX11=1 && make && make install #: wifi-python - install python libraries for WiFi * -python-wifi: +wifi-python: @echo "Installing python network libs.." pip install wifi scapy==2.3.2 impacket pcapy pcappy @echo "Installing pythonwifi library" @@ -765,7 +765,7 @@ wifi-rogueap: rogueap-deps hotspotd #linset wifipumpkin #: wifi-autopwn - install autopwn tools * wifi-autopwn: wifite #wpsbreak autoreaver autowps autopixiewps ##: wifi - soft for unlicensed bands: 433/866/915Mhz 2.4Ghz * -wifi: fresh dev wifi-rogueap python-wifi wifi-autopwn wifi-wps wifi-wpa +wifi: fresh dev wifi-rogueap wifi-python wifi-autopwn wifi-wps wifi-wpa #: nrf24 - Nordic Semiconductor NRF24XXX hacking tools * nrf24: nrf24-deps nrf24-firmware #: ism - soft for unlicensed bands: 433/866/915Mhz 2.4Ghz * From 89870e68e21c42e83df3d2ecc554d667a9dd6bd1 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 8 Oct 2017 14:26:14 +0300 Subject: [PATCH 05/16] Repair wifi-wpa --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e6f17a4..0ada80d 100644 --- a/Makefile +++ b/Makefile @@ -423,9 +423,11 @@ autowps: airgeddon: deps reaver pixiewps apt-get install -y crunch isc-dhcp-server sslstrip lighttpd - git clone https://github.com/v1s1t0r1sh3r3/airgeddon.git /usr/share/airgeddon - chmod +x /usr/share/airgeddon/airgeddon.sh - ln -s /usr/share/airgeddon/airgeddon.sh /usr/bin/airgeddon + @if ! [ -d /usr/share/airgeddon ]; then \ + git clone https://github.com/v1s1t0r1sh3r3/airgedon.git /usr/share/airgeddon; \ + chmod +x /usr/share/airgeddon/airgeddon.sh; \ + ln -s /usr/share/airgeddon/airgeddon.sh /usr/bin/airgeddon; \ + fi; fluxion: @echo "Installing fluxion dependencies" From d89ae688d76f6b0ddd1fe4af06b2dd8530a490c0 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 8 Oct 2017 16:57:16 +0300 Subject: [PATCH 06/16] Fix libsigrok, libsigrokdecode, install Pulseview --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ada80d..6b995c6 100644 --- a/Makefile +++ b/Makefile @@ -735,14 +735,17 @@ hardware-generic: deps dev ##: hardware-signal - install signal analysis tools hardware-signal: # TODO: OLS install - apt-get install -y libsigrok0-dev sigrok-cli libsigrokdecode0-dev autoconf-archive \ + apt-get install -y libsigrok-dev sigrok-cli libsigrokdecode-dev autoconf-archive \ libglib2.0-dev libglibmm-2.4-dev libzip-dev check default-jdk libqt4-dev libboost-dev \ libboost-system-dev libglib2.0-dev libqt4-dev libboost-test-dev libboost-thread-dev \ libboost-filesystem-dev + apt-get install qt5-default libqt5svg5 libqt5svg5-dev $(call gitclone,git://sigrok.org/libserialport) cd $(repo) && ./autogen.sh && ./configure && make && make install $(call gitclone,git://sigrok.org/libsigrok) cd $(repo) && ./autogen.sh && ./configure && make && make install + $(call gitclone,git://sigrok.org/libsigrokdecode) + cd $(repo) && ./autogen.sh && ./configure && make && make install $(call gitclone,git://sigrok.org/pulseview) cd $(repo) && cmake . && make && make install ################################# hardware ##################################### From a264bd977a37328f8964a3a70cb3697a9ad33f27 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sat, 14 Oct 2017 18:55:46 +0300 Subject: [PATCH 07/16] Fix firmware --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 6b995c6..6170152 100644 --- a/Makefile +++ b/Makefile @@ -678,7 +678,7 @@ firmware-reverse: cd $(repo) && ./build.sh # make && sudo make install @echo "installing binwalk" $(call gitclone,https://github.com/devttys0/binwalk) - cd $(repo) && y| ./deps.sh && pip install . + cd $(repo) && yes | ./deps.sh && pip install . @echo "installing firmadyne" $(call gitclone,https://github.com/firmadyne/firmadyne) @echo "installing firmwalker" @@ -704,14 +704,16 @@ avatar: ##: crossdev - install cross platfrorm dev tools crossdev: deps # http://www.emdebian.org/crosstools.html - @echo "installing Emdebian, xapt" - apt-get install emdebian-archive-keyring xapt -y + @echo "installing Emdebian" + apt-get install emdebian-archive-keyring dirmngr -y + # >> xapt and dpkg-cross are deprecated xapt and dpkg-cross are deprecated + # and may not make it into the Jessie release. Both packages are likely to be + # removed from Debian after the Jessie release is made. + # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771496#41 for the reasons. + # sudo apt-get install gcc-msp430 binutils-msp430 msp430-libc msp430mcu mspdebug # apt_add_source emdebian # cp -f "files/etc/emdebian.list" /etc/apt/sources.list.d/emdebian.list && apt-get update -y - echo "deb http://ftp.us.debian.org/debian/ squeeze main" > /etc/apt/sources.list.d/emdebian.list - echo "deb http://www.emdebian.org/debian/ squeeze main" >> /etc/apt/sources.list.d/emdebian.list - echo "deb http://www.emdebian.org/debian/ oldstable main" >> /etc/apt/sources.list/emdebian.list apt-get update -y @echo "installing GCC-4.4 for mips, mipsel" apt-get install -y linux-libc-dev-mipsel-cross libc6-mipsel-cross libc6-dev-mipsel-cross \ From ae868d3239efe1615f0282e8ffd29a4d6e80230d Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 22 Oct 2017 14:39:12 +0300 Subject: [PATCH 08/16] Fix postinstall.sh (replaced the obsolete package) --- postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinstall.sh b/postinstall.sh index ce410cf..165d362 100755 --- a/postinstall.sh +++ b/postinstall.sh @@ -11,7 +11,7 @@ install_archivers(){ install_32bit(){ if [ `getconf LONG_BIT` = "64" ] ; then if ask "64-bit OS detected. Installing 32-bit libs?" Y; then - dpkg --add-architecture i386 && apt-get update -y && apt-get install ia32-libs -y + dpkg --add-architecture i386 && apt-get update -y && apt-get install lib32z1 lib32ncurses5 -y check_success fi fi From 4b98caa1f5f7e80f380e64ea95fd4d4089d02a3a Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 22 Oct 2017 16:15:27 +0300 Subject: [PATCH 09/16] Fix dev.sh (replaced the obsolete package) --- dev.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev.sh b/dev.sh index 3c1ec00..bd63973 100755 --- a/dev.sh +++ b/dev.sh @@ -54,11 +54,13 @@ install_ruby(){ install_dev(){ print_status "Installing development tools and environment" + echo "deb http://security.debian.org/debian-security wheezy/updates main" >> /etc/apt/sources.list + apt-get update -y apt-get install -y cmake cmake-data autoconf build-essential module-assistant libncurses5-dev zlib1g-dev gawk flex gettext \ gcc gcc-multilib dkms make patchutils strace wdiff linux-headers-`uname -r` autoconf automake libssl-dev \ - kernel-package ncurses-dev fakeroot bzip2 linux-source openssl libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev \ - libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison \ - libmysqlclient-dev libmagickcore-dev libmagick++-dev libmagickwand-dev libnetfilter-queue-dev git subversion mercurial + kernel-package libncurses5-dev fakeroot bzip2 linux-source openssl libreadline7 libreadline-dev git-core zlib1g zlib1g-dev libssl-dev \ + libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison \ + libmysqlclient18 libmagickcore-dev libmagick++-dev libmagickwand-dev libnetfilter-queue-dev git subversion mercurial check_success print_status "System Pre-requirements" @@ -90,4 +92,4 @@ install_dev(){ if [ "${0##*/}" = "dev.sh" ]; then install_dev -fi \ No newline at end of file +fi From 858eae3636894637747593a344508796e600f90f Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 22 Oct 2017 16:15:27 +0300 Subject: [PATCH 10/16] Fix dev.sh (replaced the obsolete package) --- dev.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev.sh b/dev.sh index 3c1ec00..e7d381f 100755 --- a/dev.sh +++ b/dev.sh @@ -54,11 +54,13 @@ install_ruby(){ install_dev(){ print_status "Installing development tools and environment" + echo "deb http://security.debian.org/debian-security wheezy/updates main" >> /etc/apt/sources.list + apt-get update -y apt-get install -y cmake cmake-data autoconf build-essential module-assistant libncurses5-dev zlib1g-dev gawk flex gettext \ - gcc gcc-multilib dkms make patchutils strace wdiff linux-headers-`uname -r` autoconf automake libssl-dev \ - kernel-package ncurses-dev fakeroot bzip2 linux-source openssl libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev \ - libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison \ - libmysqlclient-dev libmagickcore-dev libmagick++-dev libmagickwand-dev libnetfilter-queue-dev git subversion mercurial + gcc gcc-multilib dkms make patchutils strace wdiff linux-headers-amd64 autoconf automake libssl-dev \ + kernel-package libncurses5-dev fakeroot bzip2 linux-source openssl libreadline7 libreadline-dev git-core zlib1g zlib1g-dev libssl-dev \ + libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison \ + libmysqlclient18 libmagickcore-dev libmagick++-dev libmagickwand-dev libnetfilter-queue-dev git subversion mercurial check_success print_status "System Pre-requirements" @@ -90,4 +92,4 @@ install_dev(){ if [ "${0##*/}" = "dev.sh" ]; then install_dev -fi \ No newline at end of file +fi From f32853672ec534e2c7186670fb924aa940236539 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 22 Oct 2017 17:56:51 +0300 Subject: [PATCH 11/16] Fix dev.sh (fixed dependencies) --- dev.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev.sh b/dev.sh index e7d381f..9a40331 100755 --- a/dev.sh +++ b/dev.sh @@ -55,12 +55,13 @@ install_ruby(){ install_dev(){ print_status "Installing development tools and environment" echo "deb http://security.debian.org/debian-security wheezy/updates main" >> /etc/apt/sources.list - apt-get update -y + apt-get update && apt-get upgrade -y apt-get install -y cmake cmake-data autoconf build-essential module-assistant libncurses5-dev zlib1g-dev gawk flex gettext \ gcc gcc-multilib dkms make patchutils strace wdiff linux-headers-amd64 autoconf automake libssl-dev \ kernel-package libncurses5-dev fakeroot bzip2 linux-source openssl libreadline7 libreadline-dev git-core zlib1g zlib1g-dev libssl-dev \ libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison \ - libmysqlclient18 libmagickcore-dev libmagick++-dev libmagickwand-dev libnetfilter-queue-dev git subversion mercurial + libmysqlclient18 libmagickwand-6.q16-dev libmagickcore-6.q16-dev libmagick++-6.q16-dev libmagickcore-dev libmagick++-dev libmagickwand-dev \ + libnetfilter-queue-dev git subversion mercurial check_success print_status "System Pre-requirements" From f366555cc209578c30cffefdfda7c143a9c538b1 Mon Sep 17 00:00:00 2001 From: portbx Date: Sun, 22 Oct 2017 18:04:54 +0300 Subject: [PATCH 12/16] Update dev.sh --- dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.sh b/dev.sh index 9a40331..ace872f 100755 --- a/dev.sh +++ b/dev.sh @@ -55,7 +55,7 @@ install_ruby(){ install_dev(){ print_status "Installing development tools and environment" echo "deb http://security.debian.org/debian-security wheezy/updates main" >> /etc/apt/sources.list - apt-get update && apt-get upgrade -y + apt-get update -y apt-get install -y cmake cmake-data autoconf build-essential module-assistant libncurses5-dev zlib1g-dev gawk flex gettext \ gcc gcc-multilib dkms make patchutils strace wdiff linux-headers-amd64 autoconf automake libssl-dev \ kernel-package libncurses5-dev fakeroot bzip2 linux-source openssl libreadline7 libreadline-dev git-core zlib1g zlib1g-dev libssl-dev \ From d16a27096d588845bb00e384ed761dc08fcff388 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 22 Oct 2017 18:54:06 +0300 Subject: [PATCH 13/16] Fix dev.sh (replaced the obsolete package) --- dev.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev.sh b/dev.sh index ace872f..cebb398 100755 --- a/dev.sh +++ b/dev.sh @@ -87,7 +87,8 @@ install_dev(){ fi if ask "Install MinGW compiler+tools?" N; then - apt-get install -y binutils-mingw-w64 gcc-mingw-w64 mingw-w64 mingw-w64-dev + apt-get install -y binutils-mingw-w64 gcc-mingw-w64 mingw-w64 \ + mingw-w64-x86-64-dev mingw-w64-i686-dev fi } From f4749fd2a204eacecde1bb923ac844930760fc61 Mon Sep 17 00:00:00 2001 From: Sergey Severnii Date: Sun, 22 Oct 2017 19:55:24 +0300 Subject: [PATCH 14/16] Fix pentest.sh (update URL Intercepter-NG) --- pentest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pentest.sh b/pentest.sh index 499af9a..0965f9b 100755 --- a/pentest.sh +++ b/pentest.sh @@ -19,7 +19,7 @@ install_pentest(){ fi if ask "Do you want to install BeEF,arachni,w3af, WATOBO?" Y; then - apt-get -y install beef-xss arachni w3af + apt-get -y install beef-xss arachni w3af fi if ask "Do you want to install Veil?" Y; then @@ -81,7 +81,7 @@ install_mitm(){ print_notification "Download & unpack" cd /tmp - wget http://sniff.su/_Intercepter-NG.CE.05.zip + wget http://sniff.su/intercepter-NG.CE.05.zip unzip _Intercepter-NG.CE.05.zip mv intercepter_linux /usr/bin/intercepter chmod +x /usr/bin/intercepter From 55fbb1cd6d159a5af7cd94f5650185fb138e627a Mon Sep 17 00:00:00 2001 From: portbx Date: Tue, 24 Oct 2017 04:12:13 +0300 Subject: [PATCH 15/16] Update pentest.sh --- pentest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pentest.sh b/pentest.sh index 0965f9b..a338295 100755 --- a/pentest.sh +++ b/pentest.sh @@ -81,8 +81,8 @@ install_mitm(){ print_notification "Download & unpack" cd /tmp - wget http://sniff.su/intercepter-NG.CE.05.zip - unzip _Intercepter-NG.CE.05.zip + wget http://sniff.su/Intercepter-NG.CE.05.zip + unzip Intercepter-NG.CE.05.zip mv intercepter_linux /usr/bin/intercepter chmod +x /usr/bin/intercepter fi From 55e3134bfca46f61e8ea34532d4acc7ba755e2f2 Mon Sep 17 00:00:00 2001 From: portbx Date: Tue, 24 Oct 2017 04:25:11 +0300 Subject: [PATCH 16/16] Update pentest.sh --- pentest.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pentest.sh b/pentest.sh index a338295..6354198 100755 --- a/pentest.sh +++ b/pentest.sh @@ -12,10 +12,12 @@ install_pentest(){ print_notification "Newly installed tools should be located on your default PATH." #This is a simple git pull of the Cortana .cna script repository available on github. - print_status "Grabbing Armitage Cortana Scripts via github.." - git clone http://www.github.com/rsmudge/cortana-scripts.git /opt/cortana - check_success - print_notification "Cortana scripts installed under /opt/cortana." + if ! [ -d /opt/cortana ]; then + print_status "Grabbing Armitage Cortana Scripts via github.."; + git clone http://www.github.com/rsmudge/cortana-scripts.git /opt/cortana; + check_success; + print_notification "Cortana scripts installed under /opt/cortana."; + fi fi if ask "Do you want to install BeEF,arachni,w3af, WATOBO?" Y; then