Skip to content

This Bash script allows you to scan for open ports on a specific target using an HTTP proxy

Notifications You must be signed in to change notification settings

Justice-Reaper/httpProxyPortScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

HttpProxyPortScanner

This Bash script allows scanning for open ports on a specific target using an HTTP proxy

Features

  • Prompts the user for proxy, target, and number of ports to scan
  • Open ports are saved in a file named openPortsHttpProxy.txt
  • Open ports are automatically copied to the clipboard

Dependencies

  • The following dependencies must be installed
sudo apt install -y git curl sed xclip gawk coreutils              

Example

./HttpProxyPortScanner.sh

██╗  ██╗████████╗████████╗██████╗     ██████╗ ██████╗  ██████╗ ██╗  ██╗██╗   ██╗    ██████╗  ██████╗ ██████╗ ████████╗    ███████╗ ██████╗ █████╗ ███╗   ██╗███╗   ██╗███████╗██████╗ 
██║  ██║╚══██╔══╝╚══██╔══╝██╔══██╗    ██╔══██╗██╔══██╗██╔═══██╗╚██╗██╔╝╚██╗ ██╔╝    ██╔══██╗██╔═══██╗██╔══██╗╚══██╔══╝    ██╔════╝██╔════╝██╔══██╗████╗  ██║████╗  ██║██╔════╝██╔══██╗
███████║   ██║      ██║   ██████╔╝    ██████╔╝██████╔╝██║   ██║ ╚███╔╝  ╚████╔╝     ██████╔╝██║   ██║██████╔╝   ██║       ███████╗██║     ███████║██╔██╗ ██║██╔██╗ ██║█████╗  ██████╔╝
██╔══██║   ██║      ██║   ██╔═══╝     ██╔═══╝ ██╔══██╗██║   ██║ ██╔██╗   ╚██╔╝      ██╔═══╝ ██║   ██║██╔══██╗   ██║       ╚════██║██║     ██╔══██║██║╚██╗██║██║╚██╗██║██╔══╝  ██╔══██╗
██║  ██║   ██║      ██║   ██║         ██║     ██║  ██║╚██████╔╝██╔╝ ██╗   ██║       ██║     ╚██████╔╝██║  ██║   ██║       ███████║╚██████╗██║  ██║██║ ╚████║██║ ╚████║███████╗██║  ██║
╚═╝  ╚═╝   ╚═╝      ╚═╝   ╚═╝         ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝   ╚═╝       ╚═╝      ╚═════╝ ╚═╝  ╚═╝   ╚═╝       ╚══════╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝

Enter the proxy (example: http://user:password@ip:port - http://user:password@domain:port - http://ip:port - http://domain:port):
Proxy: http://lance.friedman:o>WJ5-jD<5^m3@10.129.181.242:3128

Enter the target (example: http://ip - http://domain - ip - domain):
Target: 127.0.0.1

Enter up to which port you want to scan (example: 65535):
Port: 80
        [*] Port 22 - OPEN
        [*] Port 80 - OPEN

[+] Scan completed, open ports have been saved to openPortsHttpProxy.txt
[+] Ports have been copied to clipboard

About

This Bash script allows you to scan for open ports on a specific target using an HTTP proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages