So, I was a little bored so I made some PHP code.
This is what it does:
- Takes query string values
- Pulls an image from the web
- base64_encodes it.
- Distorts the image.
- Replaces some of the base64 string data with other string data.
- Outputs the image in an img tag.
Hope this helps someone, let me know if it does IN THE COMMENTS
$find = $_GET['f'];
$replace = $_GET['r'];
$type = "gif";
$type = $_GET['t'];
$imgfile = $_GET['i'];
$contents = implode (file($imgfile));
$start = base64_encode($contents);
$start = str_ireplace($find, $replace, $start);
echo '<img src="data:image/'.$type.';base64,' . $start . '" />';
Try: <a href='base64.php?i=http://ec.europa.eu/culture/media/programme/images/logos/02/02.gif17.gif&f=lo&r=ha&t=gif'>http://ec.europa.eu/culture/media/programme/images/logos/02/02.gif17.gif&f=lo&re=ha&t=gif</a>
This program uses this site IpMap to get peoples location based off of their IP address.
It’s written in python. Enjoy.
Download Source – GPLv3 Code. Give back.
python ipmap.py 126.96.36.199 all
python ipmap.py 188.8.131.52
python ipmap.py (This will get you the help screen)
all = Prints all details
nomap = Gets All, no map
loc = Gets: Country, Region, City
Continue reading “IPMap Python Ip Address Locator Command Line Script”
I coded this puzzle game that I now have hosted on Sourceforge here:
It’s written in PHP and it is based off the game Flood-it. It takes the general principle and changes it some.
The levels are easily made and can be added pretty easily too.
I’d like to make a level editor, but that is defiantly for a later release.
Here is the plan:
-Make it look better
-Add Level Editor
This python command line utility will search the pirate bay for a specific search string and pull out the torrent files and download them to your current directory.
by: Daniel Folkes
This is Licensed under GPLv3. Give Back.
- print “””Pirate Bay Torrent Downloader – Command Line Interface
- Program Written by: Daniel Folkes
- website: http://danfolkes.com
- email: danfolkes @t gmail dot c0m
Continue reading “Python Torrent Search and Download (TPB)”
On J. J. Abrams Coffee Cup:
On a Audience Member.
283H – thx john.
Those might be Longitude and Latitude, so, and you get somewhere north of Baghdad:
If you flip the numbers, you get the Black Sea, above Turkey.
I guess we will see if I am correct.