hacktricks/generic-methodologies-and-resources/external-recon-methodology/wide-source-code-search.md
Carlos Polop 61e2eb2350 a
2024-03-26 15:56:40 +01:00

3.7 KiB

Wide Source Code Search

Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!

Other ways to support HackTricks:

Try Hard Security Group

{% embed url="https://discord.gg/tryhardsecurity" %}


The goal of this page is to enumerate platforms that allow to search for code (literal or regex) in across thousands/millions of repos in one or more platforms.

This helps in several occasions to search for leaked information or for vulnerabilities patterns.

  • SourceGraph: Search in millions of repos. There is a free version and an enterprise version (with 15 days free). It supports regexes.
  • Github Search: Search across Github. It supports regexes.
  • Gitlab Advanced Search: Search across Gitlab projects. Support regexes.
  • SearchCode: Search code in millions of projects.

{% hint style="warning" %} When you look for leaks in a repo and run something like git log -p don't forget there might be other branches with other commits containing secrets! {% endhint %}

Try Hard Security Group

{% embed url="https://discord.gg/tryhardsecurity" %}

Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!

Other ways to support HackTricks: