mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-12 21:38:34 +03:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe16b23fc7 | ||
|
|
8156af38d5 | ||
|
|
6fb6a0ec98 | ||
|
|
dc2a22aae0 | ||
|
|
a2aac88da3 | ||
|
|
3dbfc0f18e | ||
|
|
392b3022d7 |
13
.github/dependabot.yml
vendored
Normal file
13
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# To get started with Dependabot version updates, you'll need to specify which
|
||||||
|
# package ecosystems to update and where the package manifests are located.
|
||||||
|
# Please see the documentation for all configuration options:
|
||||||
|
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
# Enable version updates for pip
|
||||||
|
- package-ecosystem: "pip"
|
||||||
|
directory: "/" # Location of package manifests
|
||||||
|
# Check the tqdm registry for updates every day (weekdays)
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
18
README.md
18
README.md
@@ -10,6 +10,23 @@
|
|||||||
|
|
||||||
> *Simply gather OSINT on Github users and organizations like a god🔥*
|
> *Simply gather OSINT on Github users and organizations like a god🔥*
|
||||||
|
|
||||||
|
# FEATURES
|
||||||
|
- [x] Fetches organization info
|
||||||
|
- [x] Fetches user info
|
||||||
|
- [x] Fetches repository info
|
||||||
|
- [x] Returns contents of a path from a repository
|
||||||
|
- [x] Returns a list of repos owned by an organization
|
||||||
|
- [x] Returns a list of repos owned by a user
|
||||||
|
- [x] Returns a list of gists owned by a user
|
||||||
|
- [x] Returns a list of a user's followers
|
||||||
|
- [x] Checks whether user A follows user B
|
||||||
|
- [x] Searches users
|
||||||
|
- [x] Searches repositories
|
||||||
|
- [x] Searches topics
|
||||||
|
- [x] Searches issues
|
||||||
|
- [x] Searches commits
|
||||||
|
- [x] Easily updates with the 'update' command
|
||||||
|
- [x] Automatically logs network activity (.logs folder)
|
||||||
|
|
||||||
# INSTALLATION
|
# INSTALLATION
|
||||||
**clone project**:
|
**clone project**:
|
||||||
@@ -63,7 +80,6 @@ python3 octosuite
|
|||||||
| ``topicsearch`` | *search topics(s)* |
|
| ``topicsearch`` | *search topics(s)* |
|
||||||
| ``issuesearch`` | *search issue(s)* |
|
| ``issuesearch`` | *search issue(s)* |
|
||||||
| ``commitsearch`` | *search commit(s)* |
|
| ``commitsearch`` | *search commit(s)* |
|
||||||
| ``usersearch`` | *search user(s)* |
|
|
||||||
| ``update`` | *update octosuite* |
|
| ``update`` | *update octosuite* |
|
||||||
| ``changelog`` | *show changelog* |
|
| ``changelog`` | *show changelog* |
|
||||||
| ``author`` | *show author info* |
|
| ``author`` | *show author info* |
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ banner = f'''{red}
|
|||||||
░ ████▓▒░▒ ▓███▀ ░ ▒██▒ ░ ░ ████▓▒░▒██████▒▒▒█████▓ ░██░ ▒██▒ ░ ░▒████▒
|
░ ████▓▒░▒ ▓███▀ ░ ▒██▒ ░ ░ ████▓▒░▒██████▒▒▒█████▓ ░██░ ▒██▒ ░ ░▒████▒
|
||||||
░ ▒░▒░▒░ ░ ░▒ ▒ ░ ▒ ░░ ░ ▒░▒░▒░ ▒ ▒▓▒ ▒ ░░▒▓▒ ▒ ▒ ░▓ ▒ ░░ ░░ ▒░ ░
|
░ ▒░▒░▒░ ░ ░▒ ▒ ░ ▒ ░░ ░ ▒░▒░▒░ ▒ ▒▓▒ ▒ ░░▒▓▒ ▒ ▒ ░▓ ▒ ░░ ░░ ▒░ ░
|
||||||
░ ▒ ▒░ ░ ▒ ░ ░ ▒ ▒░ ░ ░▒ ░ ░░░▒░ ░ ░ ▒ ░ ░ ░ ░ ░
|
░ ▒ ▒░ ░ ▒ ░ ░ ▒ ▒░ ░ ░▒ ░ ░░░▒░ ░ ░ ▒ ░ ░ ░ ░ ░
|
||||||
░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░░ ░ ░ ▒ v1.3.0
|
░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░░ ░ ░ ▒ v1.4.0
|
||||||
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
|
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
|
||||||
░ {white}— Advanced Github {red}OSINT{white} Framework{reset}
|
░ {white}— Advanced Github {red}OSINT{white} Framework{reset}
|
||||||
|
|
||||||
|
|||||||
16
src/main.py
16
src/main.py
@@ -405,7 +405,7 @@ class octosuite:
|
|||||||
# Update program
|
# Update program
|
||||||
def update(self):
|
def update(self):
|
||||||
logging.info('Fetching updates...')
|
logging.info('Fetching updates...')
|
||||||
files_to_update = ['src/main.py','lib/banner.py','lib/colors.py','octosuite','LICENSE','README.md','requirements.txt']
|
files_to_update = ['src/main.py','lib/banner.py','lib/colors.py','octosuite','.github/dependabot.yml','LICENSE','README.md','requirements.txt']
|
||||||
for file in tqdm(files_to_update,desc=f'{colors.white}[{colors.green}*{colors.white}] Fetching updates...{colors.reset}'):
|
for file in tqdm(files_to_update,desc=f'{colors.white}[{colors.green}*{colors.white}] Fetching updates...{colors.reset}'):
|
||||||
data = urllib.request.urlopen(f'https://raw.githubusercontent.com/rly0nheart/octosuite/master/{file}').read()
|
data = urllib.request.urlopen(f'https://raw.githubusercontent.com/rly0nheart/octosuite/master/{file}').read()
|
||||||
with open(file, 'wb') as code:
|
with open(file, 'wb') as code:
|
||||||
@@ -413,19 +413,16 @@ class octosuite:
|
|||||||
code.close()
|
code.close()
|
||||||
|
|
||||||
logging.info('Update complete.')
|
logging.info('Update complete.')
|
||||||
exit(f'\n{colors.white}[{colors.green}+{colors.white}] Update complete. Re-run octosuite.{colors.reset}')
|
exit(f'{colors.white}[{colors.green}+{colors.white}] Update complete. Re-run octosuite.{colors.reset}')
|
||||||
|
|
||||||
|
|
||||||
# Show changelog
|
# Show changelog
|
||||||
def changelog(self):
|
def changelog(self):
|
||||||
# lol yes the changelog is hard coded
|
# lol yes the changelog is hard coded
|
||||||
changelog_text = '''
|
changelog_text = '''
|
||||||
v1.3.0 Changelog:
|
v1.4.0 Changelog:
|
||||||
|
|
||||||
• Adjusted to work on Mac
|
• Minor changes to the interface
|
||||||
• Added changelog command
|
|
||||||
• Added progress bar when fetching updates
|
|
||||||
• Minor bug fixes
|
|
||||||
'''
|
'''
|
||||||
return changelog_text
|
return changelog_text
|
||||||
|
|
||||||
@@ -440,7 +437,10 @@ class octosuite:
|
|||||||
def help(self):
|
def help(self):
|
||||||
help = '''
|
help = '''
|
||||||
|
|
||||||
usage:
|
help:
|
||||||
|
|
||||||
|
Command Descritption
|
||||||
|
------------ ---------------------------------------------------------
|
||||||
orginfo --> Get target organization info
|
orginfo --> Get target organization info
|
||||||
userinfo --> Get target user profile info
|
userinfo --> Get target user profile info
|
||||||
repoinfo --> Get target repository info
|
repoinfo --> Get target repository info
|
||||||
|
|||||||
Reference in New Issue
Block a user