Top "Exploit" questions

An exploit is a piece of software, a chunk of data, or sequence of commands that takes advantage of a bug, glitch, or vulnerability in order to cause unintended or unanticipated behavior to occur.

How is integer overflow exploitable?

Does anyone have a detailed explanation on how integers can be exploited? I have been reading a lot about the …

security integer-overflow exploit
Use a heap overflow to write arbitrary data

I've been trying to learn the basics of a heap overflow attack. I'm mostly interested in using a corruption or …

c security heap exploit
What is vulnerable about this C code?

#include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h&…

c linux security exploit secure-coding
Bash 'printf' equivalent for command prompt?

I'm looking to pipe some String input to a small C program in Windows's command prompt. In bash I could …

windows shell command-line powershell exploit
Man in the middle attack with scapy

I'm trying to do a man in the middle attack with scapy on a test network. My setup is like …

python network-programming exploit scapy man-in-the-middle
Null byte injection in an upload form

I'm trying to reproduce the Null Byte Injection attack on an upload form. I have this code: <?php if(…

php forms security exploit
Is this file (gcc.sh) in cron.hourly malware?

I have been experiencing spikes up to 1 Gbps on my server and have been looking for virus' and malware. I …

linux exploit malware virus
What does int (*ret)() = (int(*)())code mean?

Here is a copy of code from shellstorm: #include <stdio.h> /* ipaddr 192.168.1.10 (c0a8010a) port 31337 (7a69) */ #define …

c exploit shellcode
How to write a buffer-overflow exploit in GCC,windows XP,x86?

void function(int a, int b, int c) { char buffer1[5]; char buffer2[10]; int *ret; ret = buffer1 + 12; (*ret) += 8;//why is it 8?? } …

c gcc stack buffer-overflow exploit
can anyone explain this code to me?

WARNING: This is an exploit. Do not execute this code. //shellcode.c char shellcode[] = "\x31\xc0\x31\xdb\xb0\x17\…

c stack exploit shellcode