Skip to content

Sucks all embedded URLs from a given URI or file. Ideal to parse URLs from CSS or JavaScript (such as API calls, webservices, ;)

Notifications You must be signed in to change notification settings

defensahacker/URLSUCKER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Intro

URLSUCKER sucks all embedded URLs from a given URI or file.

Ideal to parse strings from CSS or JavaScript files as many or all the web crawlers and spiders do not scan through JavaScript code, missing many interesting resources such as API calls, webservices, etc.

So far URLSUCKER is quite useful to pentest Web Applications.

It could be integrated to ZAP or Burp Suite as well.

Syntax

Syntax: URLSUCKER [-v] [-t <timeout>] [-g 1|2] ([-u url] | [-f file])
-v (verbose): Shows verbose output
-t (timeout): Adds a delay between request (For WAF evasion)
-g (greedy): By default, 1. If set to 2, it shows all strings found even if they do not seem a path or folder
-u (url): URL to scan for strings and URLs
-f (filename): Path to filename to scan for strings and URLs
  • Give as a parameter a url (-u) or a file (-f) to scan.
  • -v parameter gives you verbose output, showing the response code and the potential URL found for manual analysis.
  • -t <timeout> parameter establishes a timeout between requests to evade WAF / security systems (in seconds)

Example

$ ./URLSUCKER -u http://192.168.1.1/index.php
[ABSOLUTE URL] http://192.168.1.1/help/license.html
[RELATIVE URL] http://192.168.1.1/console.png
[RELATIVE URL] http://192.168.1.1/green.png
[RELATIVE URL] http://192.168.1.1/help.png
[EXTERNAL ABSOLUTE URL] http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
[RELATIVE URL] http://192.168.1.1/license.png
[RELATIVE URL] http://192.168.1.1/mikrotik_logo.png
[RELATIVE URL] http://192.168.1.1/winbox.png

DISCLAIMER

Use at your own risk in an environment that you are allowed to attack.

~ (c) 2018 defensahacker

About

Sucks all embedded URLs from a given URI or file. Ideal to parse URLs from CSS or JavaScript (such as API calls, webservices, ;)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages