Code Monkey home page Code Monkey logo

edoardottt / favirecon Goto Github PK

View Code? Open in Web Editor NEW
167.0 3.0 25.0 603 KB

Use favicon.ico to improve your target recon phase. Quickly detect technologies, WAF, exposed panels, known services.

Home Page: https://edoardoottavianelli.it

License: MIT License

Go 88.86% Makefile 1.94% Shell 2.04% Python 7.17%
bug-bounty bugbounty hacking infosec pentest recon reconnaissance security offensive-security favicon penetration-test penetration-testing pentest-tool pentesting pentesting-tools security-tools golang favicon-hash favicon-icon

favirecon's Introduction

favirecon

Use favicon.ico to improve your target recon phase

Coded with ๐Ÿ’™ by edoardottt

go action go report card
Share on Twitter!

Install โ€ข Get Started โ€ข Examples โ€ข Changelog โ€ข Contributing โ€ข License

Note This tool heavily relies on its favicon hash database. If you think you have a new favicon hash that's worth adding or you think there is a wrong hash-service association please open an issue.

Install ๐Ÿ“ก

Homebrew

brew install favirecon

Snap

sudo snap install favirecon

Go

go install github.com/edoardottt/favirecon/cmd/favirecon@latest

Get Started ๐ŸŽ‰

Usage:
  favirecon [flags]

Flags:
INPUT:
   -u, -url string   Input domain
   -l, -list string  File containing input domains
   -cidr             Interpret input as CIDR

CONFIGURATIONS:
   -hash string[]        Filter results having these favicon hashes (comma separated)
   -c, -concurrency int  Concurrency level (default 50)
   -t, -timeout int      Connection timeout in seconds (default 10)
   -rl, -rate-limit int  Set a rate limit (per second)

OUTPUT:
   -o, -output string  File to write output results
   -v, -verbose        Verbose output
   -s, -silent         Silent output. Print only results

Examples ๐Ÿ’ก

Identify a single domain

favirecon -u https://www.github.com
echo https://www.github.com | favirecon

Grab all possible results from a list of domains (protocols needed!)

favirecon -l targets.txt
cat targets.txt | favirecon

Grab all possible results belonging to a specific target(s) (protocols needed!)

cat targets.txt | favirecon -hash 708578229

Grab all possible results from single CIDR

favirecon -u 192.168.1.0/24 -cidr

Changelog ๐Ÿ“Œ

Detailed changes for each release are documented in the release notes.

Contributing ๐Ÿ› 

Just open an issue / pull request.

Before opening a pull request, download golangci-lint and run

golangci-lint run

If there aren't errors, go ahead :)

In the news ๐Ÿ“ฐ

License ๐Ÿ“

This repository is under MIT License.
edoardoottavianelli.it to contact me.

favirecon's People

Contributors

alins1r avatar dependabot[bot] avatar edoardottt avatar georgettica avatar harsh1s avatar harshjais369 avatar iamshreeram avatar nishith-savla avatar npv12 avatar rp99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

favirecon's Issues

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Take one (or more than one) element of your choice in scripts/favicon-to-add.txt
  • Add the favicon value(s) associated with a product name to db.json (in alphabetical order)
  • Remove the element(s) from the scripts/favicon-to-add.txt file

Remeber to use the devel branch

Not working in custom favicon directory scenario

Is your feature request related to a problem? Please describe.
Tool is really good, but it seems not working in some scenarios, like if a site has placed it's favicon.ico file in a directory (Example: http://example[.]com/images/favicon.ico), tool will miss out the favicon. So instead of statically requesting just favicon.ico, it is recommend to first locate the path of favicon.ico in the source and then request it.

Describe the solution you'd like
The Tool should grep for .ico extension in page source, and then request that path for catching actual favicon.ico file

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Collect favicons from nuclei-templates

Write a script that automatically collects favicon hashes + product names from projectdiscovery/nuclei-templates and save them in a .csv file.

See https://github.com/search?q=repo%3Aprojectdiscovery%2Fnuclei-templates+%2Fhttp.favicon.hash%2F&type=code

It could be something like:

  • Parse all the YAML templates in the root directory (nuclei-templates)
  • Extract values (if present): vendor,product,favicon
  • Deduplicate results if needed
  • Check if product == vendor, if yes only one of them used, otherwise vendor - product
  • Save them in a .csv file

Add Goreleaser

In resource-constrained environments we sometimes cannot afford to install full-blown Go + build packages with it: good practice is to have pre-packaged binary releases for each platform.

You can include this in a GitHub action workflow, by leveraging something like the https://github.com/marketplace/actions/go-release-binaries action which automates the process.

For reference:

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Add more favicons to db

  • Add these 5 favicon values associated with a product name to db.json (in alphabetical order)
  • Remove the entries from the scripts/favicon-to-add.txt file

The favicons:

Zoomeye too can be used with the iconhash: label https://www.zoomeye.org/searchResult?q=iconhash%3A

Remember to use the devel branch for the PR

Fix Path Traversal in MHolt Archiver

Fix Path Traversal in MHolt Archiver dependabot security alert. It isn't sure if favirecon is affected (not likely because the import is indirect).

Dependabot can't find a published or compatible non-vulnerable version for https://github.com/mholt/archiver

All versions of archiver allow attacker to perform a Zip Slip attack via the "unarchive" functions. It is exploited using a specially crafted zip archive, that holds path traversal filenames. When exploited, a filename in a malicious archive is concatenated to the target extraction directory, which results in the final path ending up outside of the target folder. For instance, a zip may hold a file with a "../../file.exe" location and thus break out of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

Affected versions: >= 3.0.0, < 3.3.2
Patched version: 3.3.2

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.