Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-03-2012, 08:23 AM   #1
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,229
Perl Junkies, Explain this code to me

http://pastie.org/5474200
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-03-2012, 08:54 AM   #2
Due
Confirmed User
 
Due's Avatar
 
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
Some kind of encryption ? Not really a perl expert though
__________________
I buy plugs
Skype: Due_Global
/Due
Due is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-03-2012, 11:14 AM   #3
Sin_Vraal
Confirmed User
 
Sin_Vraal's Avatar
 
Join Date: Mar 2002
Location: Seattle
Posts: 465
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.
__________________
"Youjizz: Henry, Thanks to you 1 in 150 people online at any given time are jerking off on my websites"

Swift Communications -- UU net / Sprint / level 3 / savvis / Gblx

Quad Core SaS HDD 1000mbits dedicated bandwidth $2500

AmySpears! Amy getting fucked in the ass and getting choked on a chain! -- Devil Bucks!

skype: henry.goss
ICQ: 5.6.4.8.0.9.8.6
Sin_Vraal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-03-2012, 11:37 AM   #4
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
Old 12-03-2012, 11:44 AM   #5
Sin_Vraal
Confirmed User
 
Sin_Vraal's Avatar
 
Join Date: Mar 2002
Location: Seattle
Posts: 465
Quote:
Originally Posted by V_RocKs View Post
Sometimes the simple trick is the best ;)
why let all that code go to waste LOL , I figured somebody should run it
__________________
"Youjizz: Henry, Thanks to you 1 in 150 people online at any given time are jerking off on my websites"

Swift Communications -- UU net / Sprint / level 3 / savvis / Gblx

Quad Core SaS HDD 1000mbits dedicated bandwidth $2500

AmySpears! Amy getting fucked in the ass and getting choked on a chain! -- Devil Bucks!

skype: henry.goss
ICQ: 5.6.4.8.0.9.8.6
Sin_Vraal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.