Skip to content

Commit d6112f0

Browse files
committed
[+] update
1 parent c1f7f0c commit d6112f0

File tree

4 files changed

+42
-2
lines changed

4 files changed

+42
-2
lines changed

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
# Created by https://www.gitignore.io/api/macos
3+
4+
### macOS ###
5+
*.DS_Store
6+
.AppleDouble
7+
.LSOverride
8+
9+
# Icon must end with two \r
10+
Icon
11+
12+
# Thumbnails
13+
._*
14+
15+
# Files that might appear in the root of a volume
16+
.DocumentRevisions-V100
17+
.fseventsd
18+
.Spotlight-V100
19+
.TemporaryItems
20+
.Trashes
21+
.VolumeIcon.icns
22+
.com.apple.timemachine.donotpresent
23+
24+
# Directories potentially created on remote AFP share
25+
.AppleDB
26+
.AppleDesktop
27+
Network Trash Folder
28+
Temporary Items
29+
.apdisk
30+
31+
# End of https://www.gitignore.io/api/macos

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
[submodule "gef"]
2+
path = gef
3+
url = https://github.com/hugsy/gef.git
4+
[submodule "peda"]
5+
path = peda
6+
url = https://github.com/longld/peda.git
17
[submodule "pwndbg"]
28
path = pwndbg
39
url = https://github.com/pwndbg/pwndbg.git

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Just simple gdb switcher between peda, gef and pwndbg.
1515

1616
## Usage
1717

18+
https://asciinema.org/a/eu8fjcp6x7ikhvmc0k6cbl14x
1819
<script type="text/javascript" src="https://asciinema.org/a/eu8fjcp6x7ikhvmc0k6cbl14x.js" id="asciicast-eu8fjcp6x7ikhvmc0k6cbl14x" async></script>
1920

2021
```bash
@@ -71,6 +72,8 @@ function gdbs() {
7172
- Run `setup.sh` : Install gef, peda, pwndbg as `git submobule`
7273

7374
```bash
75+
$ git clone https://github.com/2O2L2H/gdb-switcher.git
76+
$ git submodule init
7477
$ ./setup.sh
7578
```
7679

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ pedaInit=$PWD"/peda/peda.py"
1616
echo "source "$pedaInit > ~/.gdbinit-peda
1717

1818
echo -e "\n[*] pwndbg"
19-
#git submodule add https://github.com/pwndbg/pwndbg.git
20-
#(cd pwndbg && ./setup.sh)
19+
git submodule add https://github.com/pwndbg/pwndbg.git
20+
(cd pwndbg && ./setup.sh)
2121
pwndbgInit=$PWD"/pwndbg/gdbinit.py"
2222
echo "source "$pwndbgInit > ~/.gdbinit-pwndbg
2323

0 commit comments

Comments
 (0)