is there a command to detect the actual ip that is using tor when connected to tor via telnet?
I mean like sending "getinfo circuit-status" or "signal newnym" commands
Thanks!
"getinfo address" will tell you what tor believes your current external IP address to be. It sounds like you might be interested in what the final hop of an arbitrary circuit is. You can figure this out from your "getinfo circuit-status" query by looking up the IP of the last router in the path.
So, if one of the circuits lists its path as $000000000000000000000000000,$111111111111111111111111111,$222222222222222222222222222
then you may issue another query "getinfo ns/id/222222222222222222222222222
" to determine the IP of that last router.