Compare commits

..

10 Commits
3.0.1 ... 3.0.4

Author SHA1 Message Date
Richard Mwewa
646ea3cb51 Update README.md 2023-01-23 03:08:49 +02:00
Richard Mwewa
3e18a3301a Merge pull request from #9
fix: bad indentation leading to reference before assignment error #9
2023-01-22 17:02:39 +02:00
Richard Mwewa
d4b595d79e Merge pull request from #9
fix: bad indentation leading to reference before assignment error #9
2023-01-22 17:01:34 +02:00
Richard Mwewa
0f247d1dd8 Merge pull request from issue #9
fix: bad identation leading to reference before assigment error #9
2023-01-22 16:55:55 +02:00
Richard Mwewa
1b2c441237 Merge pull request #9 from albertollamaso/fix-var-assigment
fix: bad identation leading to `reference before assigment` error
2023-01-22 16:50:36 +02:00
albertollamaso
2723c2f8dd fix: bad identation leading to reference before assigment error 2023-01-22 13:59:26 +01:00
Richard Mwewa
7576fa64a1 Update setup.py 2023-01-22 03:17:01 +02:00
Richard Mwewa
79a97a7883 Update setup.py 2023-01-22 02:48:11 +02:00
Richard Mwewa
ac6ebc6d72 Update octosuite.py 2023-01-22 02:45:05 +02:00
Richard Mwewa
a12210cfa2 Fixed bug in octosuite.py 2023-01-22 01:17:50 +02:00
4 changed files with 15 additions and 18 deletions

View File

@@ -10,10 +10,14 @@ A framework for gathering open-source intelligence on GitHub users, repositories
![PyPI - Status](https://img.shields.io/pypi/status/octosuite?style=flat&logo=pypi)
![GitHub repo size](https://img.shields.io/github/repo-size/bellingcat/octosuite?style=flat&logo=github)
> About
![2023-01-23_01-01](https://user-images.githubusercontent.com/74001397/213950701-44b3f98b-89e1-443a-abb5-1be8969b611f.png "Octosuite about")
![octosuite_gui_exe (2)](https://user-images.githubusercontent.com/74001397/186889610-4530ee26-d3c6-46fc-8c92-8709f89617fd.png "Octosuite' about window")
> User profile
![2023-01-23_01-02](https://user-images.githubusercontent.com/74001397/213950792-0fcf3aef-4921-4701-84ee-0c7a6043c61b.png "User profile window")
![octosuite_gui_exe (4)](https://user-images.githubusercontent.com/74001397/186889897-c1c17fac-fddc-4967-9084-39cfe2d1307f.png "Octosuite user profile window")
> Organisation profile
![2023-01-23_01-03](https://user-images.githubusercontent.com/74001397/213950889-d034b432-2ef1-4118-8eff-946f8fb566f4.png)
# Wiki

View File

@@ -4,7 +4,7 @@ from octosuite.config import red, white, green, reset, Tree
# banner.py
# This file holds the program's banner and version tag
version_tag = "3.0.1"
version_tag = "3.0.4"
def banner():
@@ -16,7 +16,7 @@ def banner():
| |.----.| |_.-----.| __|.--.--.|__| |_.-----.
| - || __|| _| _ ||__ || | || | _| -__|
|_______||____||____|_____||_______||_____||__|____|_____|
v{version_tag}#dev
v{version_tag}
{white}— Advanced Github {red}OSINT{white} Framework

View File

@@ -199,14 +199,7 @@ An advanced and lightning fast framework for gathering open-source intelligence
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}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
[{green}FIXED{reset}] Merged pull request from #9: bad indentation leading to reference before assignment error #9
Read the wiki: https://github.com/bellingcat/octosuite/wiki
GitHub REST API documentation: https://docs.github.com/rest
@@ -527,7 +520,7 @@ class Octosuite:
if response.status_code == 404:
xprint(f"{NEGATIVE} {org_not_found.format(organization)}")
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:
org_profile_tree.add(f"{self.org_attr_dict[attr]}: {response.json()[attr]}")
xprint(org_profile_tree)
@@ -547,7 +540,7 @@ class Octosuite:
if response.status_code == 404:
xprint(f"{NEGATIVE} {user_not_found.format(username)}")
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:
user_profile_tree.add(f"{self.profile_attr_dict[attr]}: {response.json()[attr]}")
xprint(user_profile_tree)
@@ -570,7 +563,7 @@ class Octosuite:
if response.status_code == 404:
xprint(f"{NEGATIVE} {repo_or_user_not_found.format(repo_name, username)}")
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:
repo_profile_tree.add(f"{self.repo_attr_dict[attr]}: {response.json()[attr]}")
xprint(repo_profile_tree)
@@ -776,8 +769,8 @@ class Octosuite:
events_tree = Tree("\n" + event['id'])
events_tree.add(f"Type: {event['type']}")
events_tree.add(f"Created at: {event['created_at']}")
xprint(events_tree)
xprint(event['payload'])
xprint(events_tree)
xprint(event['payload'])
# log_org_events(event, organization)
else:
xprint(response.json())

View File

@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as file:
setuptools.setup(
name="octosuite",
version="3.0.1",
version="3.0.4",
author="Richard Mwewa",
author_email="rly0nheart@duck.com",
packages=["octosuite"],