Skip to content

Commit

Permalink
[docs] http -> https
Browse files Browse the repository at this point in the history
because apparently it's a big deal for debugging stuff
  • Loading branch information
hugsy committed Mar 4, 2022
1 parent 18c40b6 commit 7817bea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -13,21 +13,21 @@ Simply make sure you have [GDB 8.0 or higher](https://www.gnu.org/s/gdb) compile
```bash
# via the install script
## using curl
$ bash -c "$(curl -fsSL http://gef.blah.cat/sh)"
$ bash -c "$(curl -fsSL https://gef.blah.cat/sh)"

## using wget
$ bash -c "$(wget http://gef.blah.cat/sh -O -)"
$ bash -c "$(wget https://gef.blah.cat/sh -O -)"

# or manually
$ wget -O ~/.gdbinit-gef.py -q http://gef.blah.cat/py
$ wget -O ~/.gdbinit-gef.py -q https://gef.blah.cat/py
$ echo source ~/.gdbinit-gef.py >> ~/.gdbinit

# or alternatively from inside gdb directly
$ gdb -q
(gdb) 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)
```

_Note_: to fetch the latest of GEF (i.e. from the `dev` branch), simply replace in the URL to http://gef.blah.cat/dev.
_Note_: to fetch the latest of GEF (i.e. from the `dev` branch), simply replace in the URL to https://gef.blah.cat/dev.

You can immediately see that GEF is correctly installed by launching GDB:

Expand Down
6 changes: 3 additions & 3 deletions docs/config.md
Expand Up @@ -53,13 +53,13 @@ the latest, though you're more likely to encounter a bug.
```bash
# via the install script
## using curl
$ bash -c "$(curl -fsSL http://gef.blah.cat/sh)"
$ bash -c "$(curl -fsSL https://gef.blah.cat/sh)"

## using wget
$ bash -c "$(wget http://gef.blah.cat/sh -O -)"
$ bash -c "$(wget https://gef.blah.cat/sh -O -)"

# or manually
$ wget -O ~/.gdbinit-gef.py -q http://gef.blah.cat/py
$ wget -O ~/.gdbinit-gef.py -q https://gef.blah.cat/py
$ echo source ~/.gdbinit-gef.py >> ~/.gdbinit
```

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -48,7 +48,7 @@ Or [try it online](https://demo.gef.blah.cat) (user:`gef`/password:`gef-demo`)
Simply make sure you have [GDB 8.0 or higher](https://www.gnu.org/s/gdb), compiled with Python 3.6 or higher.

```bash
$ bash -c "$(curl -fsSL http://gef.blah.cat/sh)"
$ bash -c "$(curl -fsSL https://gef.blah.cat/sh)"
```

For more details and other ways to install GEF please see [./config.md](the
Expand Down

0 comments on commit 7817bea

Please sign in to comment.