Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmd problem #69

Open
AlfieSofshit opened this issue May 18, 2024 · 2 comments
Open

Cmd problem #69

AlfieSofshit opened this issue May 18, 2024 · 2 comments

Comments

@AlfieSofshit
Copy link

when i press the 1 for zero hacking tools the cmd says it is not recognized as a internal or extranal command, but when i click the 2 or the 3 its working how to fox this?

@pedomanmedia
Copy link

you must do it with python only, not python3

@pedomanmedia
Copy link

or you can use this script. replace script zero.py
import sys,os
from colorama import Fore

print(Fore.MAGENTA+"""
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――


/ ___ )( ____ ( ____ )( ___ ) ( ___ )__ /_ /( ___ )( ____ | \ /( ____ ( ____ )
/ ) || ( /| ( )|| ( ) | | ( ) | ) ( ) ( | ( ) || ( /| \ / /| ( /| ( )|
/ )| (
| ()|| | | | _____ | () | | | | | | (
) || | | (/ / | (__ | ()|
/ / | ) | )| | | |(_)| ___ | | | | | | ___ || | | _ ( | __) | __)
/ / | ( | (\ ( | | | | | ( ) | | | | | | ( ) || | | ( \ \ | ( | (\ (
/ (
/| (
/| ) \ _| () | | ) ( | | | | | | ) ( || (/| / \ | (/| ) \ _
(
/(/|/ _/() |/ | )( )( |/ |(/|/ /(____/|/ _/

――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

BY: Zero Offens Security
""")

def display_menu():
print(Fore.GREEN + """
1: Zero-Tool (Hacking Tools) | 2: Zero-Paid-Tools
3: Info (about-us)
""")

def execute_command(command):
if command == '1':
os.system('cmd /k "python3 Zero-Tool/zero-tool.py"' if os.name == 'nt' else 'python3 Zero-Tool/zero-tool.py')
elif command == '2':
print(Fore.RED + 'This option is not available yet! Coming soon...')
#os.system('cmd /k "python3 Zero-Web-Hacktool/web_bugger.py"')
elif command == '3':
os.system('cmd /k "python3 info.py"' if os.name == 'nt' else 'python3 info.py')

    display_menu()
else:
    print('Invalid option! Please choose the correct one.')

while True:
display_menu()
command = input('> ')

if command.lower() == 'exit':
    break

execute_command(command)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants