Cannot get raw text from file using get requests

Website URL

https://brewsoftworks.lol

Error Message

Attempting to access a .lua files raw text in my site tells me this in lua:

<html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("628b4b4380d13498d825b42b84317316");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="http://brewsoftworks.lol/Brew%20Softworks/Modules/loader.txt?i=1";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>

And in python, it shows me this:

HTTPSConnectionPool(host='brewsoftworks.lol', port=443): Max retries exceeded with url: /Brew%20Softworks/Modules/loader.txt (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1006)')))
ssl.SSLError: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1006)

During handling of the above exception, another exception occurred:

urllib3.exceptions.SSLError: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1006)

The above exception was the direct cause of the following exception:

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='brewsoftworks.lol', port=443): Max retries exceeded with url: /Brew%20Softworks/Modules/loader.txt (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1006)')))

During handling of the above exception, another exception occurred:

  File "C:\Users\dexml\OneDrive\Desktop\Brew Softworks\test.py", line 3, in <module>
    a=requests.get("https://brewsoftworks.lol/Brew%20Softworks/Modules/loader.txt").text
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
requests.exceptions.SSLError: HTTPSConnectionPool(host='brewsoftworks.lol', port=443): Max retries exceeded with url: /Brew%20Softworks/Modules/loader.txt (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1006)')))

Other Information

I’m using Cloudflare as my SSL & It’s verified by Let’s Encrypt
Anybody know how to fix this?

is due to this

Free hosting PHP based

6 Likes

Thanks, do you have any other recommendations to host my files on?

That will depend on your budget and needs

2 Likes

If all you need is file sharing to distribute some LUA code, there are plenty of options to choose from. A static site hosting service, like GitHub Pages, can do this just fine. No need to have a full PHP/MySQL stack to share some text.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.