Coder Social home page Coder Social logo

six2dez / reconftw Goto Github PK

View Code? Open in Web Editor NEW
5.6K 105.0 910.0 119.63 MB

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

License: MIT License

Shell 96.84% Dockerfile 2.00% HCL 0.60% Makefile 0.56%
bugbounty hacking recon pentest subdomain nuclei vulnerabilities scanner fuzzing osint penetration-testing pentesting reconnaissance dns pentest-tool security security-tools bug-bounty

reconftw's Issues

yum is called under ubuntu 20.04

yum is called under ubuntu 20.04 and this call is caused by

test -f /etc/os-release && install_yum

Is the first check of yum not enough ?

test -f /etc/redhat-release && install_yum

Auto Export $HOME/go/bin to $PATH

The function will show that all go tools are not installed if the $HOME/go/bin is not exported in $PATH. Which will be confusing for users and this will make a doubt in the install.sh script.

I suggest to export the go/bin to $path automatically in the reconftw.sh or adding it permanently in the system via install.sh

hakrawler -insecure option not defined

The -insecure option in hakrawler is disabled.
so the line bellow will fail:

cat ${domain}_probed.txt | hakrawler -depth 2 -scope subs -insecure -plain | anew -q ${domain}_url_extract.txt

My hakrawler version is: beta11

/informationGathering/reconftw$ hakrawler -v
beta11

So you need to delete the -insecure option or install hakrawler with -insecure option activated.

Error in ssrf.py path.

Error in ssrf.py path. It must be; $tools/ssrf.py

ssrf_checks(){
...
		eval cat ${domain}_ssrf.txt $DEBUG_ERROR | eval python3 ssrf.py $COLLAB_SERVER > ${domain}_ssrf_confirmed.txt $DEBUG_STD
...

CMS Checks

Add CMS checks for the well known: WP, Drupal, Joomla

Html report

Nice and easily readable final html report

Duplicated call of start

The start function called 2 times which cause a generation of Recon\target.com\Recon\target.com

all(){
	start
	if [ -n "$list" ]
	then
		...
	else
		start

dir generation caused by:

       dir=$PWD/Recon/$domain
	mkdir -p $dir

I suggest to protect those calls: checking the existance of the output dir before the call of mkdir and not use $PWD.

Typo issue in favicon()

There is a copy paste issue in the favicon funtion.
It must be :

favicon(){
        ...
	printf "${bblue}\n FavIcon Hash Extraction Finished in ${runtime} secs\n"
}

insteed of:

favicon(){
        ...
	printf "${bblue}\n GitHub Scanning Finished in ${runtime} secs\n"
}

SecretFinder open new browser tab for every finding

Describe the bug
SecretFinder open new browser tab for every finding

To Reproduce

Expected behavior

  1. SecretFinder create output.html
  2. Open it in new browser tab
  3. delete output.html
  4. Go to 1

Desktop (please complete the following information):

  • Linux
  • Brave browser

Merge install and update scripts

Merge install and update scripts in one, let's say "tools.sh". It will install the tools if not installed or update if exist.

make spent time more human readable

After any task spent time is printed out.
This time in seconds.
This is not so readable.
Lets print it in other format: HH:MM:SS
And hoping HH is always = 00 :)

Performance options

Performance options to avoid net overload (soft, default, hard)

Defining a new flag for this, will add some vars which defines threads for tools like shuffledns, httpx, interlace, ffuf...

Docker image

Minimum: working
Desirable: Alpine Linux minimal image

Error on install

Describe the bug
Hey there, currently having issues with the latest pull of the install script. I am running this on Kali 2020.4 as root with the GOPATH / GOROOT path as seen in the screenshot below. During install, I get an error message:

  Using /usr/local/lib/python3.9/dist-packages/EditorConfig-0.12.3-py3.9.egg
Finished processing dependencies for LinkFinder==1.0
Traceback (most recent call last):
  File "/root/Tools/pymeta/setup.py", line 3, in <module>
    with open("README.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md

And left with a bunch of tools uninstalled. While I understand the README.md says installer is as is, I did not have this error message on a pull I did last week of this app. Any help would be much appreciated as to what I am missing. Thank you!

To Reproduce
Steps to reproduce the behavior:

  1. Run the install script.

Expected behavior
Tools being installed when running the install script.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image
image

Desktop (please complete the following information):

  • Architecture: x64
  • OS: Kali
  • Version 2020.4

Duplicated Js links in ${domain}_jsfile_links.txt

Lot of duplicated urls caused by missing anew command.

cat ${domain}_url_extract.txt | subjs >> ${domain}_jsfile_links.txt;

It suggest to edit it to:

cat ${domain}_url_extract.txt | subjs | anew -q ${domain}_jsfile_links.txt;

sudo checker

which sudo will return always the some value.
to check if user is root is better to:

if( id -u == 0 )
then
    SUDO = sudo 
else
    SUDO = " "

New modes and flags

  • Full scope (-fs): allows anything from cidr, ASN, crtsh.

  • Deep scan (--deep?): Allows JS sub scraping, deep crtsh scan, Js scanner and performs attacks (xss, open redirects, ssrf) over all the urls no matter size. This requires the default option not perform this actions and attacks only against short lists.

  • Only passive actions (-ps or ....?), no interaction with target, like passive info gathering mode, no dns resolution for subdomains, urls obtained only from gau and wayback, no crawler, no port scan ('port scan' with shodan is passive).

Diff support

Run the tool and inform only for new discoveries comparing with the existing files.
Like "Old scan detected", then results will be "3 new subdomains added".
Beware, it may interfere with resume run support added in c78d862

  • Flag -c for Compare or Cron mode
  • After subdomains, rest of steps should be done only for new subdomains not all.
  • Output and notifications about new findings, so it should compare and diff before.
  • This feature shouldn't remove anything, just add.
  • It should be able to run 24/7 in loop without bugs.

Docker??

please make a docker image.. this install is so problematic

Print out the total spent time

Now only functions spent time is printed.
Users (at least me) want to know the spent time of all the recon process.
This value must be printed even if the user cancelled the reon process (the script receive a kill signal )

Typo issue in open_redirect() and ssrf_checks

There is an error in the output file, it seems to copied from testssl and not edited.
${domain}_testssl.txt

open_redirect(){
	printf "${bblue} Results are saved in ${domain}_testssl.txt ${reset}\n"
}

ssrf_checks(){
	printf "${bblue} Results are saved in ${domain}_testssl.txt ${reset}\n"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.