View Single Post
Old 12-03-2012, 11:37 AM  
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,391
Quote:
Originally Posted by Sin_Vraal View Post
http://perldoc.perl.org/functions/pack.html
its a clever way of writing a string, then evaluating it.

Although you can read up on pack, it will probably bore u, so just change eval to print and see what it says.

my$d='bupbup.com';if($ENV{'HTTP_HOST'}&&index($ENV {'HTTP_HOST'},$d)==-1){print "Content-type: text/html\n\n";print "This software is licensed for use on $d only";exit;}$HEADER=0;

essentially, this is security software.
Sometimes the simple trick is the best ;)
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote