Created
January 15, 2023 01:33
-
-
Save 0xm4ud/67f15746a30f17401ad001780f7927f0 to your computer and use it in GitHub Desktop.
Oneliner to convert IP to hex in reverse for Assembly ws32 shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -c 'print("".join([octet[2:] for octet in [hex(int(octet)) for octet in input("Enter an IP address: ").split(".")][::-1]]))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment