Compare commits

...

5 Commits

Author SHA1 Message Date
Richard Mwewa
52c572f255 Update README.md 2022-04-20 00:40:38 +02:00
Richard Mwewa
eeda47723e Update main.py 2022-04-20 00:32:49 +02:00
Richard Mwewa
1a6e3bb3c9 Update banner.py 2022-04-20 00:28:49 +02:00
Richard Mwewa
82b6a3fd3c Update colors.py 2022-04-20 00:27:55 +02:00
Richard Mwewa
c994678fa1 Update README.md 2022-04-18 14:19:37 +02:00
4 changed files with 13 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
![OS](https://img.shields.io/badge/OS-Mac-white?style=for-the-badge&logo=apple) ![OS](https://img.shields.io/badge/OS-Mac-white?style=for-the-badge&logo=apple)
![GitHub](https://img.shields.io/github/license/rly0nheart/octosuite?style=for-the-badge&logo=github) ![GitHub](https://img.shields.io/github/license/rly0nheart/octosuite?style=for-the-badge&logo=github)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/rly0nheart/octosuite?style=for-the-badge&logo=github) ![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/rly0nheart/octosuite?style=for-the-badge&logo=github)
![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/rly0nheart/octosuite/1.5.2-alpha?style=for-the-badge&logo=github) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/rly0nheart/octosuite/1.6.0-stable?style=for-the-badge&logo=github)
![GitHub last commit](https://img.shields.io/github/last-commit/rly0nheart/octosuite?style=for-the-badge&logo=github) ![GitHub last commit](https://img.shields.io/github/last-commit/rly0nheart/octosuite?style=for-the-badge&logo=github)
![GitHub repo size](https://img.shields.io/github/repo-size/rly0nheart/octosuite?style=for-the-badge&logo=github) ![GitHub repo size](https://img.shields.io/github/repo-size/rly0nheart/octosuite?style=for-the-badge&logo=github)
![PyPI - Downloads](https://img.shields.io/pypi/dw/octosuite?style=for-the-badge&logo=pypi) ![PyPI - Downloads](https://img.shields.io/pypi/dw/octosuite?style=for-the-badge&logo=pypi)
@@ -128,6 +128,7 @@ octosuite
# NOTE # NOTE
* *octosuite automatically logs network and minor user activity. The logs are saved by date and time in .logs folder* * *octosuite automatically logs network and minor user activity. The logs are saved by date and time in .logs folder*
* *Although octosuite was developed to work on **Mac**, **Windows**, or any **Linux** *Distribution*, it has only been tested on **Termux** *and* **Kali Linux*** * *Although octosuite was developed to work on **Mac**, **Windows**, or any **Linux** *Distribution*, it has only been tested on **Termux** *and* **Kali Linux***
* *If you believe octosuite can be better, feel free to open a pull request with your improvements* ✌🏾🙂
# PYPI # PYPI
[PyPI](https://pypi.org/project/octosuite) [PyPI](https://pypi.org/project/octosuite)

View File

@@ -8,7 +8,7 @@ banner = f'''{red}
░ ████▓▒░▒ ▓███▀ ░ ▒██▒ ░ ░ ████▓▒░▒██████▒▒▒█████▓ ░██░ ▒██▒ ░ ░▒████▒ ░ ████▓▒░▒ ▓███▀ ░ ▒██▒ ░ ░ ████▓▒░▒██████▒▒▒█████▓ ░██░ ▒██▒ ░ ░▒████▒
░ ▒░▒░▒░ ░ ░▒ ▒ ░ ▒ ░░ ░ ▒░▒░▒░ ▒ ▒▓▒ ▒ ░░▒▓▒ ▒ ▒ ░▓ ▒ ░░ ░░ ▒░ ░ ░ ▒░▒░▒░ ░ ░▒ ▒ ░ ▒ ░░ ░ ▒░▒░▒░ ▒ ▒▓▒ ▒ ░░▒▓▒ ▒ ▒ ░▓ ▒ ░░ ░░ ▒░ ░
░ ▒ ▒░ ░ ▒ ░ ░ ▒ ▒░ ░ ░▒ ░ ░░░▒░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ▒ ▒░ ░ ▒ ░ ░ ▒ ▒░ ░ ░▒ ░ ░░░▒░ ░ ░ ▒ ░ ░ ░ ░ ░
░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░░ ░ ░ ▒ {red_bg}v1.5.2-alpha{reset}{red} ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░░ ░ ░ ▒ {red_bg}v1.6.0-stable{reset}{red}
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
{white}— Advanced Github {red}OSINT{white} Framework{reset} {white}— Advanced Github {red}OSINT{white} Framework{reset}

View File

@@ -1,5 +1,7 @@
import os import os
import sys import sys
import platform
from datetime import datetime
colors = True colors = True
machine = sys.platform machine = sys.platform
@@ -12,7 +14,8 @@ if not colors:
else: else:
try: try:
color_chooser = input(f"[ ? ] Welcome {os.getlogin()}, would you like to enable colors for this session? [Y/n] ") date_time = datetime.now()
color_chooser = input(f"\t\t[OCTOSUITE] © 2022\n\t{date_time.strftime('%A %d %B %Y, %H:%M:%S%p')}\n\n\nOS: {platform.system()}\nProcessor: {platform.processor()}\nNode: {platform.node()}\nRelease: {platform.release()}\nArchitecture: {platform.architecture()}\nVersion: {platform.version()}\n\n[ ? ] Welcome {os.getlogin()}, would you like to enable colors for this session? [Y/n] ")
if color_chooser.lower() == "y": if color_chooser.lower() == "y":
white = "\033[97m" white = "\033[97m"
white_bg = "\033[47;30m" white_bg = "\033[47;30m"

View File

@@ -14,6 +14,7 @@
''' '''
import os import os
import sys
import logging import logging
import requests import requests
import platform import platform
@@ -206,7 +207,7 @@ class octosuite:
# Use 'cls' to clear screen on Windows based machines # Use 'cls' to clear screen on Windows based machines
# Otherwise, use 'clear' # Otherwise, use 'clear'
while True: while True:
if platform.system().lower().startswith(('win','darwin')): if sys.platform.lower().startswith(('win','darwin')):
subprocess.run(['cls']) subprocess.run(['cls'])
else: else:
subprocess.run(['clear'],shell=False) subprocess.run(['clear'],shell=False)
@@ -441,13 +442,9 @@ class octosuite:
# lol yes the changelog is hard coded # lol yes the changelog is hard coded
changelog_text = f''' changelog_text = f'''
{red_bg}v1.5.2-alpha [CHANGELOG]{reset} {red_bg}v1.6.0-stable [CHANGELOG]{reset}
Users will now get to choose whether to enable colors or not Minor improvements and bug fixes
• Cleaned code {red_bg} {reset}
• Improved perfomance
• Will be ignoring unknown commands instead of printing the error
• Major bug fixes
{red_bg} {reset}
''' '''
print(changelog_text) print(changelog_text)
@@ -500,7 +497,7 @@ else:
# Creating the .logs directory # Creating the .logs directory
# If the current system is Windows based, we run mkdir command without sudo # If the current system is Windows based, we run mkdir command without sudo
# Else we run the mkdir command with sudo # Else we run the mkdir command with sudo
if platform.system().lower().startswith(('win','darwin')): if sys.platform.lower().startswith(('win','darwin')):
subprocess.run(['mkdir','.logs']) subprocess.run(['mkdir','.logs'])
else: else:
subprocess.run(['sudo','mkdir','.logs'],shell=False) subprocess.run(['sudo','mkdir','.logs'],shell=False)