Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinyurl install method returns 404 #867

Closed
4 tasks done
0xricksanchez opened this issue Jul 3, 2022 · 0 comments · Fixed by #868
Closed
4 tasks done

Tinyurl install method returns 404 #867

0xricksanchez opened this issue Jul 3, 2022 · 0 comments · Fixed by #868

Comments

@0xricksanchez
Copy link

0xricksanchez commented Jul 3, 2022

  • Did you use the latest version of GEF from dev branch?
  • Is your bug specific to GEF (not GDB)? - Try to reproduce it running gdb -nx
  • Did you search through the documentation first?
  • Did you check issues (including
    the closed ones) - and the PR?
gef➤  pi import urllib.request as u, tempfile as t; g=t.NamedTemporaryFile(suffix='-gef.py'); open(g.name, 'wb+').write(u.urlopen('https://tinyurl.com/gef-master').read()); gdb.execute('source %s' % g.name)
Python Exception <class 'urllib.error.HTTPError'>: HTTP Error 404: Not Found
Error while executing Python code.
gef➤  
$ xh https://tinyurl.com/gef-master
HTTP/2.0 301 Moved Permanently
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
cache-control: max-age=0, public, s-max-age=900, stale-if-error: 86400
cf-cache-status: DYNAMIC
cf-ray: 724f02b69b479152-FRA
content-type: text/html; charset=UTF-8
date: Sun, 03 Jul 2022 10:41:46 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
location: https://github.com/hugsy/gef/raw/master/gef.py
referrer-policy: unsafe-url
server: cloudflare
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-powered-by: PHP/7.4.28
x-xss-protection: 1; mode=block

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='https://github.com/hugsy/gef/raw/master/gef.py'" />

        <title>Redirecting to https://github.com/hugsy/gef/raw/master/gef.py</title>
    </head>
    <body>
        Redirecting to <a href="https://github.com/hugsy/gef/raw/master/gef.py">https://github.com/hugsy/gef/raw/master/gef.py</a>.
    </body>
</html>

Very likely to be connected to #847

@hugsy hugsy linked a pull request Jul 3, 2022 that will close this issue
13 tasks
@hugsy hugsy added this to the Release: next milestone Jul 3, 2022
@hugsy hugsy closed this as completed in #868 Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants