Coder Social home page Coder Social logo

Errors Python... about toriptables2 HOT 25 CLOSED

ruped24 avatar ruped24 commented on May 24, 2024
Errors Python...

from toriptables2.

Comments (25)

ruped24 avatar ruped24 commented on May 24, 2024
  1. Try this first; Run from a terminal:
    sudo sed -i 's/debian-tor/tor/' toriptables2.py

Let me know if it work...

from toriptables2.

S0rci3r avatar S0rci3r commented on May 24, 2024

Thank you very much, we are making progress... but,

sudo toriptables2.py -l

[+] Anonymizer status [ON]
[*] Getting public IP, please wait...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
..............

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Try these: Error: Getting public IP
See under Troubleshooting:
Also Try: Changing this DNS settings

Run this from the command line, copy/paste:
time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])"

Note: You need to have the stock torrc file.

Let me know if you are still getting the error.

from toriptables2.

S0rci3r avatar S0rci3r commented on May 24, 2024

Yess ;-) it's fonctional...
I use the DNS of my VPN

sudo toriptables2.py -l
[+] Anonymizer status [ON]
[*] Getting public IP, please wait...
[?] Still waiting for IP address...
[+] Your IP is 66.146.193.33

Several questions :
Thanks again, I noticed that the ip address changes very often is normal?
Can we change the time of the loop?
Can we run toriptables behind a vpn?

Sorry for my english... use deepL :p

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

I noticed that the ip address changes very often is normal?

Yes. Tor changes IP about every three minutes or so.

To change settings: See Advance tweaks.

Can we change the time of the loop?

Yes. Change the sleep time. The default is 5 seconds.

Can we run toriptables behind a vpn?

Yes.

from toriptables2.

S0rci3r avatar S0rci3r commented on May 24, 2024

Ok, Thank you again for your help and reactivity ;-)

from toriptables2.

Zicrys avatar Zicrys commented on May 24, 2024

Hello! I have this problem:
[!] Can't get public ip address!
Exception KeyError: KeyError(139968192689984,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
im reinstall this module, but problem is not resolved.

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Hello! I have this problem: [!] Can't get public ip address! Exception KeyError: KeyError(139968192689984,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored im reinstall this module, but problem is not resolved.

I need more information.

from toriptables2.

Zicrys avatar Zicrys commented on May 24, 2024

I think this error is due to the blockage in our country. All ip addresses are blocked, the site tor project does not work.

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

I think this error is due to the blockage in our country. All ip addresses are blocked, the site tor project does not work.

Try setting your exit node. See here.

from toriptables2.

CrazyHumster avatar CrazyHumster commented on May 24, 2024

Hi i have same problem, but your answer dont help me(((
"time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])""

[+] Anonymizer status [ON]
[*] Getting public IP, please wait...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Hi i have same problem, but your answer dont help me((( "time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])""

[+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address...

I need more information:
What distro are you using.

from toriptables2.

Zicrys avatar Zicrys commented on May 24, 2024

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

First flush the tables:
sudo toriptables2 -f

What is the results when you run:
"time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])"

from toriptables2.

Zicrys avatar Zicrys commented on May 24, 2024

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Script don’t work ( bash: синтаксическая ошибка рядом с неожиданным маркером «json.load»  
Пятница, 4 февраля 2022, 16:54 +04:00 от Rupert Edwards @.***>:     First flush the tables: sudo toriptables2 -f What is the results when you run: "time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])" — Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android . You are receiving this because you commented. Message ID: </issues/12/1029960596 @ github . com>
    -- С уважением, Антон.

Try toriptables3.
Let me know if it work or post error here.

from toriptables2.

Zicrys avatar Zicrys commented on May 24, 2024

Does not work( And it doesn't give any errors:
sudo toriptables3.py -l
[+] Anonymizer status [ON]
[*] Getting public IP, please wait...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
[?] Still waiting for IP address...
~/toriptables3$

from toriptables2.

CrazyHumster avatar CrazyHumster commented on May 24, 2024

Hi i have same problem, but your answer dont help me((( "time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])""
[+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address...

I need more information: What distro are you using.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Hi i have same problem, but your answer dont help me((( "time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])""
[+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address...

I need more information: What distro are you using.

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS" NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

OK;
Try:

  1. sudo toriptables3.py --flush
  2. sudo toriptables3.py --ip

Let me know the results...

from toriptables2.

CrazyHumster avatar CrazyHumster commented on May 24, 2024

Hi i have same problem, but your answer dont help me((( "time curl -s https://check.torproject.org/api/ip | python2 -c "import sys,json; sys.stdout.write(json.load(sys.stdin)['IP'])""
[+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address...

I need more information: What distro are you using.

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS" NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

OK; Try:

  1. sudo toriptables3.py --flush
  2. sudo toriptables3.py --ip

Let me know the results...

sudo toriptables3.py --flush
sudo: toriptables3.py: команда не найдена

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

команда не найдена
sudo chmod +x toriptables3.py

sudo ./toriptables3.py --flush
sudo ./toriptables3.py --ip

Let me know...

from toriptables2.

CrazyHumster avatar CrazyHumster commented on May 24, 2024

команда не найдена
sudo chmod +x toriptables3.py

sudo ./toriptables3.py --flush sudo ./toriptables3.py --ip

Let me know...

Same
sudo ./toriptables3.py --flush
sudo: ./toriptables3.py: команда не найдена

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Does not work( And it doesn't give any errors: sudo toriptables3.py -l [+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... ~/toriptables3$

Run the same command but change to -f.
Then run the same command with -i.

from toriptables2.

CrazyHumster avatar CrazyHumster commented on May 24, 2024

Does not work( And it doesn't give any errors: sudo toriptables3.py -l [+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... ~/toriptables3$

Run the same command but change to -f. Then run the same command with -i.

toriptables2.py -f
Fatal: can't open lock file /run/xtables.lock: Permission denied
Fatal: can't open lock file /run/xtables.lock: Permission denied
[!] Anonymizer status [OFF]
toriptables2.py -i
[*] Getting public IP, please wait...
[?] Still waiting for IP address...
[?] Still waiting for IP address...

from toriptables2.

ruped24 avatar ruped24 commented on May 24, 2024

Does not work( And it doesn't give any errors: sudo toriptables3.py -l [+] Anonymizer status [ON] [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... [?] Still waiting for IP address... ~/toriptables3$

Run the same command but change to -f. Then run the same command with -i.

toriptables2.py -f Fatal: can't open lock file /run/xtables.lock: Permission denied Fatal: can't open lock file /run/xtables.lock: Permission denied [!] Anonymizer status [OFF] toriptables2.py -i [*] Getting public IP, please wait... [?] Still waiting for IP address... [?] Still waiting for IP address...

  1. It maybe your Country blocking Tor. I don't know from here.
  2. What I suggest to try is autovpn2 then run toriptables2 to try and by pass your country filter. :(
  3. Try running/testing it in a Kali VM.

PS. Time is my enemy right now ... unfortunately I can't spend anymore time on this.

from toriptables2.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.