mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-12 05:18:33 +03:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac6ebc6d72 | ||
|
|
a12210cfa2 | ||
|
|
47e0b4c64a | ||
|
|
c4847773a0 | ||
|
|
832e887302 | ||
|
|
8487898f93 | ||
|
|
13efce4f9c |
@@ -4,7 +4,7 @@ from octosuite.config import red, white, green, reset, Tree
|
|||||||
|
|
||||||
# banner.py
|
# banner.py
|
||||||
# This file holds the program's banner and version tag
|
# This file holds the program's banner and version tag
|
||||||
version_tag = "3.0.0"
|
version_tag = "3.0.1"
|
||||||
|
|
||||||
|
|
||||||
def banner():
|
def banner():
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ def octosuite():
|
|||||||
try:
|
try:
|
||||||
run = Octosuite()
|
run = Octosuite()
|
||||||
path_finder()
|
path_finder()
|
||||||
clear_screen()
|
|
||||||
configure_logging()
|
configure_logging()
|
||||||
check_updates()
|
check_updates()
|
||||||
if args.method:
|
if args.method:
|
||||||
|
|||||||
@@ -199,14 +199,7 @@ An advanced and lightning fast framework for gathering open-source intelligence
|
|||||||
|
|
||||||
|
|
||||||
Whats new in v{version_tag}?
|
Whats new in v{version_tag}?
|
||||||
[{green}IMPROVED{reset}] Octosuite will now also run with command line arguments (use 'octosuite --help', to show usage)
|
[{green}FIXED{reset}] Fixed a bug '[ERROR] An error occurred: can only concatenate str (not "NoneType") to str'
|
||||||
[{green}IMPROVED{reset}] Users will now be able to view previous commands with the ↑ ↓ arrow keys (for Windows systems)
|
|
||||||
[{green}IMPROVED{reset}] Removed width from tables, so that they can auto adjust
|
|
||||||
[{green}ADDED{reset}] Added the 'ls' command, which will be used to list all files and directories of the specified directory (beta)
|
|
||||||
[{green}ADDED{reset}] Added the 'cd' command, which will be used to move to a specified directory (beta)
|
|
||||||
[{green}ADDED{reset}] Added the 'log:clear' command, which will be used to clear all logs
|
|
||||||
[{green}ADDED{reset}] Added the 'csv:clear' command, which will be used to clear all csv files
|
|
||||||
[{green}GUI{reset}] The GUI will now come as a standalone executable
|
|
||||||
|
|
||||||
Read the wiki: https://github.com/bellingcat/octosuite/wiki
|
Read the wiki: https://github.com/bellingcat/octosuite/wiki
|
||||||
GitHub REST API documentation: https://docs.github.com/rest
|
GitHub REST API documentation: https://docs.github.com/rest
|
||||||
@@ -527,7 +520,7 @@ class Octosuite:
|
|||||||
if response.status_code == 404:
|
if response.status_code == 404:
|
||||||
xprint(f"{NEGATIVE} {org_not_found.format(organization)}")
|
xprint(f"{NEGATIVE} {org_not_found.format(organization)}")
|
||||||
elif response.status_code == 200:
|
elif response.status_code == 200:
|
||||||
org_profile_tree = Tree("\n" + response.json()['name'])
|
org_profile_tree = Tree("\n{response.json()['name']}")
|
||||||
for attr in self.org_attrs:
|
for attr in self.org_attrs:
|
||||||
org_profile_tree.add(f"{self.org_attr_dict[attr]}: {response.json()[attr]}")
|
org_profile_tree.add(f"{self.org_attr_dict[attr]}: {response.json()[attr]}")
|
||||||
xprint(org_profile_tree)
|
xprint(org_profile_tree)
|
||||||
@@ -547,7 +540,7 @@ class Octosuite:
|
|||||||
if response.status_code == 404:
|
if response.status_code == 404:
|
||||||
xprint(f"{NEGATIVE} {user_not_found.format(username)}")
|
xprint(f"{NEGATIVE} {user_not_found.format(username)}")
|
||||||
elif response.status_code == 200:
|
elif response.status_code == 200:
|
||||||
user_profile_tree = Tree("\n" + response.json()['name'])
|
user_profile_tree = Tree(f"\n{response.json()['name']}")
|
||||||
for attr in self.profile_attrs:
|
for attr in self.profile_attrs:
|
||||||
user_profile_tree.add(f"{self.profile_attr_dict[attr]}: {response.json()[attr]}")
|
user_profile_tree.add(f"{self.profile_attr_dict[attr]}: {response.json()[attr]}")
|
||||||
xprint(user_profile_tree)
|
xprint(user_profile_tree)
|
||||||
@@ -570,7 +563,7 @@ class Octosuite:
|
|||||||
if response.status_code == 404:
|
if response.status_code == 404:
|
||||||
xprint(f"{NEGATIVE} {repo_or_user_not_found.format(repo_name, username)}")
|
xprint(f"{NEGATIVE} {repo_or_user_not_found.format(repo_name, username)}")
|
||||||
elif response.status_code == 200:
|
elif response.status_code == 200:
|
||||||
repo_profile_tree = Tree("\n" + response.json()['full_name'])
|
repo_profile_tree = Tree(f"\n{response.json()['full_name']}")
|
||||||
for attr in self.repo_attrs:
|
for attr in self.repo_attrs:
|
||||||
repo_profile_tree.add(f"{self.repo_attr_dict[attr]}: {response.json()[attr]}")
|
repo_profile_tree.add(f"{self.repo_attr_dict[attr]}: {response.json()[attr]}")
|
||||||
xprint(repo_profile_tree)
|
xprint(repo_profile_tree)
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as file:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="octosuite",
|
name="octosuite",
|
||||||
version="3.0.0",
|
version="3.0.1",
|
||||||
author="Richard Mwewa",
|
author="Richard Mwewa",
|
||||||
author_email="rly0nheart@duck.com",
|
author_email="rly0nheart@duck.com",
|
||||||
packages=["octosuite"],
|
packages=["octosuite"],
|
||||||
|
|||||||
Reference in New Issue
Block a user