Giter VIP home page Giter VIP logo

Comments (6)

bl00dy1837 avatar bl00dy1837 commented on June 15, 2024

It works for me.
But its slow.
Try to test the script with 'bash -x freenom.sh -l" so you can see every step of the script.

from freenom-script.

janmoehl avatar janmoehl commented on June 15, 2024

👍 thanks for the tip. The script failed to do the login. After changing my password, which contained non alphanummeric characters (in this case '. #, >, -, { and ;) the login was successful.

Now i'm stuck at Error: Could not get current local ip address, which occurs for two of three runs. When the ip is found, the dns entry on freenom.com get updated successfully. Will look for this error later.

By the way,

echo DEBUG: trimIpCmd skip=$skip i=$i ipCmd="${ipCmd[$i]}"

prints debug messages if you use ipv6, even if debugging is turned off.

from freenom-script.

janmoehl avatar janmoehl commented on June 15, 2024

Don't know why, but if one of these entries is picked, the script can't get the ip (tested it for ipv4 and ipv6, notused/tested dig):

ipCmd+=("curl -%ipv% -A %agent% -m 10 -s http://checkip.dns.he.net")
ipCmd+=("curl -%ipv% -A %agent% -m 10 -s https://cgi1.apnic.net/cgi-bin/my-ip.php")
ipCmd+=("curl -%ipv% -A %agent% -m 10 -s ipv%ipv%.test-ipv6.com/ip/?callback")
ipCmd+=("curl -4 -A %agent% -m 10 -s http://ip.taobao.com/service/getIpInfo.php?ip=myip")

Can you confirm this? When i comment these lines out, it works great.

from freenom-script.

mkorthof avatar mkorthof commented on June 15, 2024

Thanks @janmoehl, will look into password not being escaped correctly. I've removed the DEBUG line

You list all ip checks with freenom.sh -i
Try testing manually like curl http://checkip.dns.he.net (or curl -6 ) and if its not working there might be an issue between you and that ipcheck.
If a check is not working just remove the ipCmd line.

Also you can see details about what the script is doing using freenom.sh -r -a -debug

from freenom-script.

mkorthof avatar mkorthof commented on June 15, 2024

Password is properly escaped now; set password to chars mentioned and could successfully tested login now.

from freenom-script.

janmoehl avatar janmoehl commented on June 15, 2024

I discovered my ISP is using DS-lite, which maybe could be the reason, why some ip-tests failed (and is definitely the reason, why the domain doesn't work 😞). But thanks for the quick support.

from freenom-script.

Related Issues (20)

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.