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

PLAIN is going to background in single mode #3

Open
444kx opened this issue Apr 21, 2016 · 3 comments
Open

PLAIN is going to background in single mode #3

444kx opened this issue Apr 21, 2016 · 3 comments

Comments

@444kx
Copy link

444kx commented Apr 21, 2016

Dont know how to debug it but if i run bintut in single mode for PLAIN exercise , then the shell is not poped. it goes to background. But not in burst mode, it is working fine
Thanks for these tutorials

@NoviceLive
Copy link
Owner

Are you stepping using Ctrl + D / Enter?

You need to provide details of you environment so that I can reproduce, e.g. trying the following commands and show me the output.

uname -a
gdb --version
gdb --batch -ex 'show configuration' -ex 'show follow-fork-mode' -ex 'show follow-exec-mode'

@444kx
Copy link
Author

444kx commented Apr 22, 2016

Stepping with Enter
`root@k2:/bintut# uname -a
Linux k2 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux
root@k2:
/bintut# gdb --version
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word".
root@k2:~/bintut# gdb --batch -ex 'show configuration' -ex 'show follow-fork-mode' -ex 'show follow-exec-mode'
This GDB was configured as follows:
configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu
--with-auto-load-dir=$debugdir:$datadir/auto-load
--with-auto-load-safe-path=$debugdir:$datadir/auto-load
--with-expat
--with-gdb-datadir=/usr/share/gdb (relocatable)
--with-jit-reader-dir=/usr/lib/gdb (relocatable)
--without-libunwind-ia64
--with-lzma
--with-python=/usr (relocatable)
--with-separate-debug-dir=/usr/lib/debug (relocatable)
--with-system-gdbinit=/etc/gdb/gdbinit
--with-zlib
--without-babeltrace

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)
Debugger response to a program call of fork or vfork is "parent".
Follow exec mode is "same".`

@NoviceLive
Copy link
Owner

Can't reproduce in a freshly installed Kali 2016.1 rolled to the most up-to-date version.

I have no idea at present. Sigh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants