more images
1 parent 1d52122 commit 7acfbda8ade4b14445c7235294a39c3083b89028
root authored on 30 Jul 2019
Showing 27 changed files
View
Img/0xRoM.png
View
Img/GladOS.png 0 → 100644
View
Img/bomb.png 0 → 100644
View
Img/debian.png
View
Img/doom.png
View
Img/doom_guy.png
View
Img/eff.png
View
Img/gasshopper.png 0 → 100644
View
Img/guy_fawkes.png
View
Img/heart.png
View
Img/heartbleed.png
View
Img/kali.png
View
Img/krack.png
View
Img/lockpick.png 0 → 100644
View
Img/matrix.png
View
Img/metasploit.png
View
Img/mr_robot.png
View
Img/oddlaw.png
View
Img/oshw.png
View
Img/pwnStar.png
View
Img/shellshock.png
View
Img/soldering.png 0 → 100644
View
Img/tux.png
View
Img/wally.png
View
Img/woof.png
View
1
■■■■
cron.php
echo "[i] cron - DrawOnHisBadge Random Image\n";
// pick random image
$images = glob($imagesDir . '*.png', GLOB_BRACE);
$randomImage = $images[array_rand($images)]; // See comments
echo "[i] image: $randomImage\n";
 
system("php5 $mainScript $randomImage");
 
?>
View
4
index.php
if ($argc < 2 ){
exit("Usage: php index.php <image>\n");
}else{
$filename = $argv[1];
echo "[+] Img: $filename\n";
echo "[+] img: $filename\n";
if ($filename == null || !isset($filename)) {
echo "[!] Please choose an image\n";
exit(0);
}else{
$imgStats = list($width, $height, $type, $attr) = getimagesize($filename);
echo "[?] checking dimensions\n";
if($imgStats[0] <> 64 || $imgStats[1] <> 32)
die("[-] Image must be 64px Wide and 32px high");
die("[-] image must be 64px Wide and 32px high");
 
$im = imagecreatefrompng($filename);
//connect
$sock = fsockopen($host, $port, $errno, $errstr, 2);
Buy Me A Coffee