Skip to content

This Python script, hacker.py, creates a simulated terminal environment that mimics various hacking-related commands and operations.

Notifications You must be signed in to change notification settings

wangjianhao222/hackercommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

hackercommand

This Python script, hacker.py, creates a simulated terminal environment that mimics various hacking-related commands and operations. It uses the colorama library for colored text output, enhancing the terminal's visual appeal. The script is designed to provide a fun and interactive experience for users to "play" as a hacker, executing a range of commands from basic network utilities to simulated exploitation attempts.

Key Features: Typing Effect: Commands and output are displayed with a "typewriter" effect, making the simulation more engaging.

Command Logging: All executed commands are logged to a file named terminal_log.txt for review.

Simulated Network Commands:

ping [host]: Simulates pinging a host with random response times.

scan [host]: Simulates a port scan, showing random open ports.

nmap [host]: A more detailed simulated network mapping tool.

ifconfig: Displays simulated network interface information.

ssh [host]: Simulates an SSH connection to a target.

System Information:

sysinfo: Displays basic simulated system information.

netinfo: Shows simulated network configuration details.

Security Tools:

hash [text]: Generates MD5 and SHA256 hashes for a given text.

crack [hash]: Simulates a brute-force attack to crack a hash.

File Operations:

download [url]: Simulates downloading a file.

upload [file]: Simulates uploading a file.

"Hacker" Actions:

firewall [action]: Simulates firewall actions.

exploit [target]: Simulates launching an exploit.

fakeattack [target]: Simulates a staged attack.

Utility Commands:

help: Lists all available commands.

clear: Clears the terminal screen.

whoami: Displays the simulated user.

banner [text]: Displays a large ASCII banner with the given text.

log [message]: Logs a custom message to the log file.

exit: Exits the terminal simulation.

Opening Animation: The script includes a brief ASCII art animation at startup to set the mood.

The script operates in a command-line interface, accepting user input and responding with simulated outputs. It does not perform actual hacking activities but rather provides a thematic experience for users interested in the aesthetics of a hacker's terminal.

About

This Python script, hacker.py, creates a simulated terminal environment that mimics various hacking-related commands and operations.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages