Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
lsof -i tcp -n | grep '\<ssh\>' | awk '{print $3}' | sort | uniq
#!/bin/bash
echo -n "Enter username: "
read usernamee;
cd /tmp/
useradd $usernamee -m -d /home/$usernamee -s /bin/rbash
passwd $usernamee
cd /home/$usernamee/
echo 'PATH=""' >> /home/$usernamee/.profile
@xsukax
xsukax / TxPower-Speedup.sh
Created November 9, 2015 18:13
xsukax Alfa Tx-Power Speed up
#!/bin/bash
echo "-------------------------------------"
echo "----xsukax Alfa Tx-Power Speed up----"
echo "-------------------------------------"
iwconfig
echo -n "Enter Interface (ex. wlan0): "
read interface;
echo "-------------------------------------"
iwconfig $interface
echo "-------------------------------------"
@xsukax
xsukax / Search for files.sh
Created October 23, 2015 12:52
Search for files Script.sh
#!/bin/bash
echo "------------------------------"
echo "xsukax File Search Bash Script"
echo "------------------------------"
echo -n "Enter Search Location (ex. /root/Desktop): "
read loc;
echo "----------------------------------------"
echo -n "Enter file name (ex. list.txt, *.sh, *.*): "
read fn;
echo "----------------------------------------"
@xsukax
xsukax / Nessus.sh
Created October 23, 2015 12:51
Nessus update & Start
#!/bin/bash
echo "------ -----------"
echo "Nessus is Starting"
echo "------------------"
/opt/nessus/sbin/nessuscli update --all
/etc/init.d/nessusd start
echo "Open https://127.0.0.1:8834"
sleep 1000000
@xsukax
xsukax / update.sh
Created October 23, 2015 12:42
apt-get Update & Upgrade
#!/bin/bash
echo "------------------------"
echo "Running Update & Upgrade"
echo "------------------------"
apt-get clean
echo "apt-get clean .. Done"
echo "---------------------"
apt-get autoremove -y
echo "--------------------------"
echo "apt-get autoremove .. Done"
@xsukax
xsukax / armitage-postgresql.sh
Created October 23, 2015 12:41
Armitage Postgresql
#!/bin/bash
echo "----------------------------"
echo "Armitage Postgresql Starting"
echo "----------------------------"
/etc/init.d/postgresql start
sleep 1000000
#!/bin/bash
echo "-------------------"
tput bold; echo "xsukax Nmap Scanner";tput sgr0
echo "-------------------"
echo
echo "xsukax Nmap Scanner simply is some nmap commands in bash scripts to make using nmap easier ;)"
echo
echo "-----------------------------"
tput bold; echo "How Do I scan specific ports?";tput sgr0
echo "-----------------------------"
@xsukax
xsukax / xsukax-ffmpeg-installer.sh
Created October 18, 2015 21:08
Installing ffmpeg on Kali Linux 2.0
#!/bin/bash
echo "---------------------"
echo "Installing ffmpeg ..."
echo "---------------------"
cd /root/Desktop/
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure
make
make install
@xsukax
xsukax / xsukax-arps.sh
Created October 18, 2015 21:06
Localnetwork arp Scan - Kali Linux 2.0
#!/bin/bash
echo "---------------------------------"
echo "Running Localnetwork arp Scan ..."
echo "---------------------------------"
arp-scan --interface=wlan0 --localnet
echo "-------------"
echo "Scan Finished"
echo "-------------"
sleep 1000000