Giter Club home page Giter Club logo

Comments (5)

L-codes avatar L-codes commented on June 9, 2024

Is it a certificate error or a 500 error? Can you provide a screenshot of the error report of neoreg.py?

from neo-regeorg.

atlassion avatar atlassion commented on June 9, 2024
python3 neoreg.py -k password -u https://IP_ADDRESS/tunnel.jsp
[ERROR   ]  Georg is not ready, please check URL.

check with requests:

>>> import requests
>>> requests.get("https://IP_ADDRESS/tunnel.jsp",verify=False).text

'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">\n<HTML>\n<HEAD>\n<TITLE>Error 500--Internal Server Error</TITLE>\n</HEAD>\n<BODY bgcolor="white">\n<FONT FACE=Helvetica><BR CLEAR=all>\n<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>\n<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 500--Internal Server Error</H2>\n</FONT></TD></TR>\n</TABLE>\n<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>\n</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.5.1 500 Internal Server Error</H4>\n</FONT><P><FONT FACE="Courier New">The server encountered an unexpected condition which prevented it from fulfilling the request.</FONT></P>\n</FONT></TD></TR>\n</TABLE>\n\n</BODY>\n</HTML>\n'

curl command:
curl -ks https://IP_ADDRESS/tunnel.jsp

<!-- XXX_XXX_ -->

no errors

Maybe problem in python-requests and works with certificate?

from neo-regeorg.

L-codes avatar L-codes commented on June 9, 2024

Try to modify User-Agent?

import requests
print(requests.get("https://IP_ADDRESS/tunnel.jsp",verify=False,headers={"User-Agent": "curl/7.64.1"}).text)

from neo-regeorg.

atlassion avatar atlassion commented on June 9, 2024

Thanks, it worked!

from neo-regeorg.

L-codes avatar L-codes commented on June 9, 2024

Okay, you can modify User-agent with -H "User-Agent: curl/7.64.1"

from neo-regeorg.

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.