xp4xbox / Python-Backdoor

This project is a cross-platform backdoor/reverse shell and post-exploitation tool written in Python3
GNU General Public License v3.0
714 stars 205 forks source link

Doesn't work on other PCs #78

Closed nacholmedina closed 2 years ago

nacholmedina commented 2 years ago

When i build the server i add my to client.py like this

After that i open no ip and select my hosy, check that the 3 checkmarks are green and working i add it on client.py in strHost image And after i do that i run the setup.py in vscode

  1. Use: 192.168.0.200
  2. Use a different IP address for server
  3. Use a DNS Hostname
  4. Use 127.0.0.1 (for testing on this computer)

Type selection: 3

I add the exact hostname that i did in client.py

Enter port number (Press ENTER for default): 3000

Melt file on execution to tmp folder? y/n: y

Add program to startup on launch? y/n: y

Use UPX? y/n (Decreases file size but may not work on fresh computers): n

it builds it without a single problem and it works perfectly on my Pc

however, when i try to execute on my friend's pc (wich has the same version of win10 as mine), i open the server on my PC, but it stays in "Listening on port 3000" forever and i never get the connection.

Am i using the right ip? what should i do?

IMPORTANT NOTE: When i use it on my pc i introduce my ipv4 in the client file. When i use this hostname it doesnt work on any pc, so i guess theres the problem, but i dont know wich ip should i introduce or what opction should i choose on setup

ghoxt007 commented 2 years ago

is your friend PC on the same network with your PC?

nacholmedina commented 2 years ago

is your friend PC on the same network with your PC?

No, It isnt

ghoxt007 commented 2 years ago

try to connect the two pc on the same network and use your pc ip, and see if that will work.

nacholmedina commented 2 years ago

try to connect the two pc on the same network and use your pc ip, and see if that will work.

I know. It obviously does. But thats not what i want to do. I want to know how you use It on pcs that are on another Network

xp4xbox commented 2 years ago

check to make sure that port 3000 is open using your global IP

xp4xbox commented 2 years ago

The hostname above I tested on port 3000 and its closed

nacholmedina commented 2 years ago

I dont know what u mean by making sure that port 3000 is open using my global IP. But ive already testes It on my pc with my IP and It works perfectly. And i Aldo dont know if this IS relevant for the test youve made but at that time my pc and no-ip were turned off Im sorry if this im telling you its not related with what youve told me, im just starting to learn bout backdoors and cybersec

xp4xbox commented 2 years ago

when you are testing the backdoor, do a port scan on port 3000 on the hostname you are using. If the port is open and anybody is able to access it, then there is a problem with local firewall.