Skip to content

skylab-kulubu/vt-IP-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vt-IP-Scanner

Virustotal API Scanner

usage: main.py [-h] [-y] {file,single,upload} ...

This is a simple script to get the last analysis stats of an IP address from VirusTotal

positional arguments:
  {file,single,upload}
    file                File mode
    single              Single mode
    upload              Upload mode

options:
  -h, --help            show this help message and exit
  -y, --yes             Force yes

Mass IP Scan

usage: main.py file [-h] -f FILE [-p] [-o OUTPUT] [-r REPORT]

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  File with IP addresses
  -p, --parse           Parse file for IP addresses
  -o OUTPUT, --output OUTPUT
                        Output file
  -r REPORT, --report REPORT
                        Report file

Single IP Scan

usage: main.py single [-h] -i IP

options:
  -h, --help      show this help message and exit
  -i IP, --ip IP  Single IP address

File Scan

usage: main.py upload [-h] -u UPLOAD

options:
  -h, --help            show this help message and exit
  -u UPLOAD, --upload UPLOAD
                        File to upload

CLI Cheat Sheet

Setup (Sudo Required)

bash setup.sh

Data Search

python3 main.py file -f ip_addresses.txt| tee [-a] report
cat report| grep -i "belongs" -B 1
cat report| grep -i "belongs" -B 2
cat report| grep -i "not malicious" -B 1
cat report| grep -i "not malicious" -B 2

Extract IPv4 Addresses

grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"

Also Check

About

Virustotal API Scanner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published