Skip to content

A recon tool, that checks the text file difference and output it in an orderly manner.

License

Notifications You must be signed in to change notification settings

fixitgearware/compfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



"Compfile" is a tool designed by fixitgearwaresecurity for comparing large recon text files for changes that exist between the old file and the new file, or seperate multiple recon text files that needed to be filtered of duplicates. Inspired by Tomnomnom 'anew' and the challenges faced by users. The difference in compfile, is that compfile sorts the output textfile, giving the user of this tool a structured textfile output, and more...

POWER OF COMPFILE

  • The user of this tool have the flexibility to pull the two different text file paths being compared, irrespective of these textfiles not sitting in the same directory or file system.
  • The user of this tool have the power to specify the output directory, where they want the difference in the two files being compared, to be output to.
  • Compfile is not only able to output the difference in a text file, but also sort them in alphabetical order, thereby making it easy to scan through the output results. A pentester or bug-bounty hunter can then decide to cut a specific alphabetical portion they wish to automate and feed it to their automation tool.
  • What makes "compfile" amazing, is the fact that compfile can scan any directory with the text file extension, as long as they are appropriately specified. A perfect way to check the difference in your existing wordlist, and a newly downloaded database of wordlist, filtering the duplicates, and updating your list in alphabetic order... "let say a way of you being organized."
  • If only textfile name was specified, when the output location is demanded e.g. textme.txt without a path, the current directory the user is running compfile from would be the directory holding the output file.

  • All these are conducted within the speed of light...irrespective of the file size...

    HOW TO INSTALL

  • git clone the repository
  • Install shc to make compfile.sh into a binary file locally on your machine.
  • run the command below to turn compfile.sh into binary
  • shc -f compfile.sh -o compfile
  • Next we type the command below, to move the binary file, to the 'bin' directory or file system. This directory is responsible for running all binary files.
  • sudo mv compfile /usr/local/bin/compfile
  • Then type the command below in the terminal from anywhere in your operating system (it doesn't matter whether you in the downloads directory, bin directory or not). This command is essential to make compfile an executable, else the tool will not run.
  • sudo chmod +x /usr/local/bin/compfile
  • If all was properly done, then typing the command below from anywhere in your terminal (i.e. filesystem or directory), will launch the tool.
  • compfile

    HOW TO USE

  • Launch your terminal on your Linux Machine, and type the command below
  • compfile
  • Follow the onscreen instructions and provide the full path where the text file resides, and end it with a '*.txt' extension, for text files. See Example Below
  • /home/user/filesystem_location/namefile.txt

    See example below assuming the first textfile is in 'Desktop', and the second textfile is in 'Downloads' while the user is 'fixitgearwaresecurity'.

    /home/fixitgearwaresecurity/Desktop/recon1.txt
    /home/fixitgearwaresecurity/Downloads/weekend1.txt

    ERROR NOTIFICATION IF PATH IS MISSING

  • If the file path is not appropriately specified for one/any/both of the files locations, the onscreen error shown below will be displayed.

  • NO DIFFERENCE IN COMPARED FILES NOTIFICATION

  • If the two files being compared are the same file path;
  • If the two files compared are of different file path and name; but the contents in them are the same, the notification screen below will be displayed.

  • SUPPORTED OS's

  • Tested on Kali Linux.
  • Tested on Ubuntu.
  • Tested on Linux OS's running on virtual machines.
  • DISCLAIMER

  • No packages required, just ensure your system update and upgrade is run before installing. To do that use the code below.
  • sudo apt-get update && sudo apt-get upgrade -y

    About

    A recon tool, that checks the text file difference and output it in an orderly manner.

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages