blacklanternsecurity / bbot

A recursive internet scanner for hackers.
https://www.blacklanternsecurity.com/bbot/
GNU General Public License v3.0
4.58k stars 414 forks source link

Git clone interacting with console #1409

Closed TheTechromancer closed 4 months ago

TheTechromancer commented 4 months ago

The git_clone module causes problems for a scan when a repository is nonexistent or protected behind auth:

Password for 'https://github.com': 
[WARN] Stderr for run(git -C /root/.bbot/scans/insecure_christian/git_repos clone https://github.com/users/google):
        Cloning into 'google'...
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/users/google/'

[WARN] Stderr for run(git -C /root/.bbot/scans/insecure_christian/git_repos clone https://github.com/users/angular):
        fatal: destination path 'angular' already exists and is not an empty directory.
TheTechromancer commented 4 months ago

Fixed in https://github.com/blacklanternsecurity/bbot/pull/1410.