Comments (5)
Can you give me your Dockerfile and tmux config ?
I can not reproduce the problem :(
from pwngdb.
It's my fault that I forget to say that I run/use gdb in pwntools. All config is default. Pwngdb work perfectly with pwntools in Docker under ubuntu:16.04 and ubuntu:18.04. Here is my dockerfile, exp.py and some operations/outputs in gdb.
From ubuntu:19.04
RUN sed -i "s/http:\/\/archive.ubuntu.com/http:\/\/mirrors.tuna.tsinghua.edu.cn/g" /etc/apt/sources.list
RUN apt update && apt-get -y dist-upgrade
RUN apt install -y tmux gcc g++ cmake gdb git vim
RUN git clone https://github.com/longld/peda /root/peda
RUN git clone https://github.com/scwuaptx/Pwngdb /root/Pwngdb
RUN cp /root/Pwngdb/.gdbinit /root/
RUN apt-get install -y python2.7 python-pip python-dev git libssl-dev libffi-dev build-essential
RUN pip install --upgrade pip
RUN pip install --upgrade pwntools
from pwn import *
p = process('bin_path')
context.terminal = ['tmux', 'split', '-h']
gdb.attach(p)
p.interactive()
p.close()
gdb-peda$ c
Continuing.
^C^C^C^C # when I send Ctrl + c to gdb, I cannot stop it.
Program terminated with signal SIGKILL, Killed. # here I terminated the executable in another screen.
The program no longer exists.
Warning: Got Ctrl+C / SIGINT!
Error while running hook_stop:
Quit
gdb-peda$
from pwngdb.
Did you confirm that there's no bug when you disable Pwngdb?
from pwngdb.
Did you confirm that there's no bug when you disable Pwngdb?
You're right. I forget peda. After testing I find that it's peda's fault.
from pwngdb.
Actually I think it's a bug introduced in GDB 8.2: https://sourceware.org/bugzilla/show_bug.cgi?id=18772#c2
from pwngdb.
Related Issues (20)
- [Bug] heapbase variable is referenced before assignment. HOT 3
- Can not Backtrack to prev state HOT 6
- [Bug] Incorrect chunk address while showing tcache_entry HOT 3
- glibc heap analyzing uses a fixed number of fastbins HOT 1
- glibc heap analyzing displays wrong indexes for largebins HOT 1
- a bug of parse_heap HOT 1
- some command(such as bcall) could not find symbol
- do the the command "free" have bug? HOT 1
- angelheap failed to trace free() while using tracemalloc HOT 1
- api "heap" is conflict with gef's heap HOT 1
- tcache size error in i386 HOT 3
- Basic Output Logging HOT 1
- i run heapinfo command but it not works HOT 1
- Error in Free_Bp_handler when getting argument
- Upstream functionality to pwndbg
- Libc symbols not found
- pwndbg installation failed
- 無法在gdb中attach pid HOT 6
- Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwngdb.