- Joined
- Sep 30, 2006
- Messages
- 735
- Reaction score
- 207
Hopefully this guide will help some people. Whole process is super easy.
Files needed : IDAPro(find on google or use this one I found on google)
Step 1 : Upload the file named "linux_serverx64" to your server, doesn't really matter where
Step 2 : Log in to your server and change to the directory you uploaded linux_serverx64 to
Step 3 : type "chmod +x linux_serverx64"
Step 4 : type "./linux_serverx64 -P[anythingyouwant] &"
Step 5 : You will see something like this
Note the port #
Step 6 : Open the port that debug server is listening on by typing
if you change port from default change the rule also ofc
Step 7 : On your local PC open IDA, run idaq64
Step 8 : In IDA open the debugger menu -> Attach -> Remote Linux Debugger
Step 9 : Enter your servers IP in the Hostname field, and the password you entered earlier in the Password field, if you changed ports also change the port here.
Step 10 : Click OK and a window should open saying "Choose process to attach to"
Step 11 : Select the server you want to debug, and it should open... you can now go about debugging like you're on localhost
If you have any questions, odds are I wont answer but someone else might.
Files needed : IDAPro(find on google or use this one I found on google)
You must be registered to see links
Step 1 : Upload the file named "linux_serverx64" to your server, doesn't really matter where
Step 2 : Log in to your server and change to the directory you uploaded linux_serverx64 to
Step 3 : type "chmod +x linux_serverx64"
Step 4 : type "./linux_serverx64 -P[anythingyouwant] &"
Step 5 : You will see something like this
Code:
[root@ns525328 ~]# ./linux_serverx64 -P12345 &
[1] 3840
[root@ns525328 ~]# IDA Linux 64-bit remote debug server(ST) v1.14. Hex-Rays (c) 2004-2011
Listening on port #23946...
Step 6 : Open the port that debug server is listening on by typing
Code:
iptables -A INPUT -p tcp --dport 23946 -j ACCEPT
Step 7 : On your local PC open IDA, run idaq64
Step 8 : In IDA open the debugger menu -> Attach -> Remote Linux Debugger
Step 9 : Enter your servers IP in the Hostname field, and the password you entered earlier in the Password field, if you changed ports also change the port here.
Step 10 : Click OK and a window should open saying "Choose process to attach to"
Step 11 : Select the server you want to debug, and it should open... you can now go about debugging like you're on localhost
If you have any questions, odds are I wont answer but someone else might.