Recon-ng misc: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=GitHub= == Recon-ng GitHub-Module (Lauffähige Beispiele) == == Voraussetzungen == * GitHub API-Token erzeugen: https://github.com/settings/tokens * Minima…“) |
|||
| Zeile 16: | Zeile 16: | ||
<pre> | <pre> | ||
workspaces create github-demo | workspaces create github-demo | ||
| − | |||
keys add github_api DEIN_TOKEN | keys add github_api DEIN_TOKEN | ||
marketplace install recon/companies-multi/github_miner | marketplace install recon/companies-multi/github_miner | ||
| Zeile 27: | Zeile 26: | ||
* Aufruf: | * Aufruf: | ||
| − | recon-ng -r github_miner.rc | + | recon-ng -r ./github_miner.rc |
== Modul 2: GitHub-Benutzer zu Kontakten auflösen == | == Modul 2: GitHub-Benutzer zu Kontakten auflösen == | ||
| Zeile 36: | Zeile 35: | ||
<pre> | <pre> | ||
workspaces create github-demo | workspaces create github-demo | ||
| − | |||
keys add github_api DEIN_TOKEN | keys add github_api DEIN_TOKEN | ||
marketplace install recon/profiles-contacts/github_users | marketplace install recon/profiles-contacts/github_users | ||
| Zeile 47: | Zeile 45: | ||
* Aufruf: | * Aufruf: | ||
| − | recon-ng -r github_users.rc | + | recon-ng -r ./github_users.rc |
== Modul 3: Öffentliche Repositories eines Benutzers auflisten == | == Modul 3: Öffentliche Repositories eines Benutzers auflisten == | ||
| Zeile 56: | Zeile 54: | ||
<pre> | <pre> | ||
workspaces create github-demo | workspaces create github-demo | ||
| − | |||
keys add github_api DEIN_TOKEN | keys add github_api DEIN_TOKEN | ||
marketplace install recon/profiles-repositories/github_repos | marketplace install recon/profiles-repositories/github_repos | ||
| Zeile 67: | Zeile 64: | ||
* Aufruf: | * Aufruf: | ||
| − | recon-ng -r github_repos.rc | + | recon-ng -r ./github_repos.rc |
== Modul 4: Commit-Autoren aus einem Repository extrahieren == | == Modul 4: Commit-Autoren aus einem Repository extrahieren == | ||
| Zeile 76: | Zeile 73: | ||
<pre> | <pre> | ||
workspaces create github-demo | workspaces create github-demo | ||
| − | |||
keys add github_api DEIN_TOKEN | keys add github_api DEIN_TOKEN | ||
modules load recon/repositories-profiles/github_commits | modules load recon/repositories-profiles/github_commits | ||
| Zeile 86: | Zeile 82: | ||
* Aufruf: | * Aufruf: | ||
| − | recon-ng -r github_commits.rc | + | recon-ng -r ./github_commits.rc |
== Modul 5: Leaks und sensible Dateien per GitHub-Dorks aufspüren == | == Modul 5: Leaks und sensible Dateien per GitHub-Dorks aufspüren == | ||
| Zeile 95: | Zeile 91: | ||
<pre> | <pre> | ||
workspaces create github-demo | workspaces create github-demo | ||
| − | |||
keys add github_api DEIN_TOKEN | keys add github_api DEIN_TOKEN | ||
marketplace install recon/repositories-vulnerabilities/github_dorks | marketplace install recon/repositories-vulnerabilities/github_dorks | ||
| Zeile 106: | Zeile 101: | ||
* Aufruf: | * Aufruf: | ||
| − | recon-ng -r github_dorks.rc | + | recon-ng -r ./github_dorks.rc |
Aktuelle Version vom 20. Mai 2025, 19:07 Uhr
GitHub
Recon-ng GitHub-Module (Lauffähige Beispiele)
Voraussetzungen
- GitHub API-Token erzeugen:
https://github.com/settings/tokens
- Minimale Rechte: public_repo
- Token in recon-ng setzen:
keys add github_api DEIN_TOKEN
Modul 1: GitHub-Organisationen finden
- Beschreibung: Sucht GitHub-Organisationen, deren Namen mit einem Firmenbegriff übereinstimmen
- Beispiel-Ziel: microsoft
- .rc-Datei speichern als: github_miner.rc
workspaces create github-demo keys add github_api DEIN_TOKEN marketplace install recon/companies-multi/github_miner modules load recon/companies-multi/github_miner options set SOURCE microsoft run show companies exit
- Aufruf:
recon-ng -r ./github_miner.rc
Modul 2: GitHub-Benutzer zu Kontakten auflösen
- Beschreibung: Holt Profildaten (z. B. Name, Mail) zu GitHub-Nutzername
- Beispiel-Ziel: torvalds
- .rc-Datei speichern als: github_users.rc
workspaces create github-demo keys add github_api DEIN_TOKEN marketplace install recon/profiles-contacts/github_users modules load recon/profiles-contacts/github_users options set SOURCE torvalds run show contacts exit
- Aufruf:
recon-ng -r ./github_users.rc
Modul 3: Öffentliche Repositories eines Benutzers auflisten
- Beschreibung: Listet alle öffentlichen Repositories eines GitHub-Nutzers
- Beispiel-Ziel: torvalds
- .rc-Datei speichern als: github_repos.rc
workspaces create github-demo keys add github_api DEIN_TOKEN marketplace install recon/profiles-repositories/github_repos modules load recon/profiles-repositories/github_repos options set SOURCE torvalds run show repositories exit
- Aufruf:
recon-ng -r ./github_repos.rc
Modul 4: Commit-Autoren aus einem Repository extrahieren
- Beschreibung: Analysiert ein GitHub-Repo und extrahiert Commit-Autoren
- Beispiel-Repo: https://github.com/torvalds/linux
- .rc-Datei speichern als: github_commits.rc
workspaces create github-demo keys add github_api DEIN_TOKEN modules load recon/repositories-profiles/github_commits options set SOURCE https://github.com/torvalds/linux run show profiles exit
- Aufruf:
recon-ng -r ./github_commits.rc
Modul 5: Leaks und sensible Dateien per GitHub-Dorks aufspüren
- Beschreibung: Sucht in einem Repo nach .env, secrets, credentials, etc.
- Beispiel-Repo: https://github.com/laravel/laravel
- .rc-Datei speichern als: github_dorks.rc
workspaces create github-demo keys add github_api DEIN_TOKEN marketplace install recon/repositories-vulnerabilities/github_dorks modules load recon/repositories-vulnerabilities/github_dorks options set SOURCE https://github.com/laravel/laravel run show vulnerabilities exit
- Aufruf:
recon-ng -r ./github_dorks.rc