How can I determine the IP address I get from torify (tor) in shell command line (linux)?

yarek

How can I determine the IP address I get from torify (tor) in shell command line (linux) ?

MariusMatutiae

You will have to query an outside service, something like whatismyipaddress.com or so. I use, for instance,

wget 216.146.38.70:80 -O - -o /dev/null | cut -d" " -f6 | sed 's/<\/body><\/html>//'

for use outside of tor. With torify, you can just use:

torify 2> /dev/null wget 216.146.38.70:80 -O - -o /dev/null | cut -d" " -f6 | sed 's/<\/body><\/html>//'

Error redirection is added to take care of torify's (many) error messages.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I get my public IP address from the command line, if I am behind a router?

From Dev

How do I get my IP address from the command line?

From Dev

How can I get unformatted ip address information in the shell?

From Dev

How can I get my external IP address in a shell script?

From Dev

How do I change route (IP) of tor service from the command line?

From Dev

How can I determine the size of an image from the command line?

From Java

How can I get the IP address from NIC in Python?

From Dev

How can I get the netmask from an IP address?

From Dev

How can I get the netmask from an IP address?

From Dev

How can I get the IP address from computer name?

From Dev

How can I get IP address showing from using Conky

From Dev

How can I hide my IP from linux who command

From Dev

How can I copy a folder from the Linux command line?

From Dev

How can I get this line from a big file in shell

From Dev

How in Linux can I get traffic of every ip address on a single interface, with multiple IP addresses?

From Dev

Can I use Ping.SendAsync to determine if I haven't been able to get a reply from an IP address for a long time?

From Dev

How can I get a CSRF token from the command line?

From Dev

How can I get octal file permissions from command line?

From Dev

How can I get system information from the command line?

From Dev

How can I get octal file permissions from command line?

From Dev

How can I get binary file permissions from command line?

From Dev

How can I send a .bat file command to another IP address?

From Dev

How can I determine which fonts are installed from the command line, and what is the easiest way to install more?

From Dev

How can I determine which fonts are installed from the command line, and what is the easiest way to install more?

From Dev

How do I extract the IP Address from a successful ping command?

From Dev

How to get tor relay points through the Linux command line?

From Dev

How can I resolve an IP address to a hostname in Arch Linux?

From Dev

How do I get my IP address in C on Linux?

From Dev

How can I write a command line shell to capture 'UP' key to get historic input?

Related Related

  1. 1

    How can I get my public IP address from the command line, if I am behind a router?

  2. 2

    How do I get my IP address from the command line?

  3. 3

    How can I get unformatted ip address information in the shell?

  4. 4

    How can I get my external IP address in a shell script?

  5. 5

    How do I change route (IP) of tor service from the command line?

  6. 6

    How can I determine the size of an image from the command line?

  7. 7

    How can I get the IP address from NIC in Python?

  8. 8

    How can I get the netmask from an IP address?

  9. 9

    How can I get the netmask from an IP address?

  10. 10

    How can I get the IP address from computer name?

  11. 11

    How can I get IP address showing from using Conky

  12. 12

    How can I hide my IP from linux who command

  13. 13

    How can I copy a folder from the Linux command line?

  14. 14

    How can I get this line from a big file in shell

  15. 15

    How in Linux can I get traffic of every ip address on a single interface, with multiple IP addresses?

  16. 16

    Can I use Ping.SendAsync to determine if I haven't been able to get a reply from an IP address for a long time?

  17. 17

    How can I get a CSRF token from the command line?

  18. 18

    How can I get octal file permissions from command line?

  19. 19

    How can I get system information from the command line?

  20. 20

    How can I get octal file permissions from command line?

  21. 21

    How can I get binary file permissions from command line?

  22. 22

    How can I send a .bat file command to another IP address?

  23. 23

    How can I determine which fonts are installed from the command line, and what is the easiest way to install more?

  24. 24

    How can I determine which fonts are installed from the command line, and what is the easiest way to install more?

  25. 25

    How do I extract the IP Address from a successful ping command?

  26. 26

    How to get tor relay points through the Linux command line?

  27. 27

    How can I resolve an IP address to a hostname in Arch Linux?

  28. 28

    How do I get my IP address in C on Linux?

  29. 29

    How can I write a command line shell to capture 'UP' key to get historic input?

HotTag

Archive