您好,欢迎访问一九零五行业门户网

发短信?打电话?都会被老婆查?

发短信?打电话?都会被老婆查。再来一利器对ta说的的悄悄话存到图片中去吧! 完整demo包:http://www.codepearl.com/files/181.html php 源码与演示: 源码出处演示出处 ?php//from:http://www.codepearl.cominclude 'simple.stegonography.class.php';$a =
发短信?打电话?都会被老婆查。 再来一利器  对ta说的的悄悄话存到图片中去吧!
完整demo包:http://www.codepearl.com/files/181.html php 源码与演示:源码出处 演示出处
stegoit('hello','logo.png',1000));//根据上一步生成的图片获取里面的内容。记得先注释掉上一步哦echo $a -> unstegoit('example.php.png',1000)?>
mimetype($i); switch($mime[2]){ case 'jpg': return imagecreatefromjpeg ($i); case 'png': return imagecreatefrompng ($i); } } /*..........*/ //@param $text text //returns array of ascii values of text /*.........*/ private function toascii($text) { $text = str_split($text); for($i=0;$icreateimage($i); $mime = $this->mimetype($i); $pixelcount = $mime[0]*$mime[1]; /*this is the point where you can change the text*/ //encrypt it maybe? the text is in $text /**/ $ascii = $this->toascii('5teg0'.$text.'5teg0'); $textcounter = 0; //is there enough space for this text? if($pixelcount/$steps mimetype($i); $pixelcount = $mime[0]*$mime[1]; $textcounter = 0; $ascii = array(); for($x = 1;$x 16) & 0xff; $ascii[] = ($rgb >> 8) & 0xff; $ascii[] = $rgb & 0xff; } } } preg_match('#5teg0(.+?)5teg0#',$this->fromascii($ascii),$txt); /*this is the point where you can change the text*/ //decrypt it maybe? the text is in $txt[1] /**/ return $txt[1]; }}
其它类似信息

推荐信息