Dec 18, 2016 04:45 PM
(This post was last modified: Dec 19, 2016 04:58 AM by slober.)
Generating your Forum Signature
![[Image: sniper-150x450.jpg]](https://7ol.eu/siggen/?ip=7ol.eu&port%5B%5D=80&port%5B%5D=8080&port%5B%5D=22&port%5B%5D=23&img=http://www.gtavcrews.com/cards/images/backgrounds/sniper-150x450.jpg)
![[Image: sniper-150x450.jpg]](https://7ol.eu/siggen/?ip=7ol.eu&port%5B%5D=80&port%5B%5D=8080&port%5B%5D=22&port%5B%5D=23&img=http://www.gtavcrews.com/cards/images/backgrounds/sniper-150x450.jpg)
Code
https://7ol.eu/siggen/?ip=7ol.eu&port[]=80&port[]=8080&port[]=22&port[]=23&img=http://www.gtavcrews.com/cards/images/backgrounds/sniper-150x450.jpgCode
https://7ol.eu/siggen/?ip=SERVER&port[]=PORT1&port[]=PORT2&port[]=PORT3&img=IMG_SOURCEIp : is a string that contains your IP/Hostname
Port : is an array that contains your ports you want to scan
Img : is a string that contains your img source
I thought it would be fun to make something like this for personal use.
Pretty simple but also quite useful for me this script runs on my second Webserver.
I'm going to edit it a bit, improve it here and there.
It looks pretty good.
- It'll get the Host/IP
- Check if the ports are Up/Down
- Write results on JPG Image
- Spits out an JPG Image
Ex. This would make the sig. a lot more interactive.
PHP Code
<?php
$host = $_SERVER['REMOTE_ADDR'];
$xtra = $_SERVER['HTTP_USER_AGENT'];
$xtra2 = "Host : " . gethostbyaddr($_SERVER['REMOTE_ADDR']);
$xtra3 = "Used port : " . $_SERVER['REMOTE_PORT'];
$xtra4 = "Ref:".$_SERVER['HTTP_REFERER'];
Ex. This would make the sig a lot more interesting
PHP Code
<?php
$ip= $text . "\n". $text2. "\n" . $text3 ." \n". $output[0]."\n".$output[1]. "\n" . $xtra2. "\n". $xtra3. "\n". $xtra4. "\n--------------------------\n" ;
//file name to put it in this can also be done using SQL
//$logFile = 'logs.txt';
//command for opening the logfile
$fO = fopen('logs.txt' , 'a');
//write everything into the earlier mentioned file and with the earlier specified Variable
fwrite($fO, $ip);
//close the file ^^
fclose($fO);
Public Honeypot Project: https://github.com/Slober3/PotHead
Honeypot Twitter: https://twitter.com/HoneyHive9
BTC: 1Anime1QrjwsEmz8bC2FwVcNXDLxP3SWAJ
Honeypot Twitter: https://twitter.com/HoneyHive9
BTC: 1Anime1QrjwsEmz8bC2FwVcNXDLxP3SWAJ
Erin Wrote:It’s fine. There’s nothing to be afraid of. Calm down, Lilan


