http://digitalpbk.blogspot.com/2006/12/base-64-encoding.html
Orkut cookie structure is as follows:ORKUTPREF=ID=[Profile ID]:INF=0:SET=:LNG=1:CNT=91:RM=0:USR=[Base64 of your email]:PHS=:TS=:LCL=en-US:NET=1:TOS=:GC=[Base 64 of SID]:PE=[Base64 of your email]:GT1=1:GID:[Again base64 of email]:S=[base64 of some data]Have more information on this? Leave a comment...
PHP Code/Functions
PHP base64 functions are : $ret = base64_encode($str); $ret = base64_decode($str); ...
Published 5 years, 4 months ago
http://digitalpbk.blogspot.com/2007/07/captcha-what.html
Bend, Orient or change the fonts randomlyHas a random background colour, which is not uniformHas little contrastHas minimum sharp edgesMaking your own CAPTCHA systemA simple CAPTCHA system can be made with
PHP and the GD Library.The
PHP-GD Library is used to make CAPTCHA images on the fly with random letters.The original text used in the image can be hashed by one way hashing algorithms such as MD5 and SHA. These hashes must be passed through a top-secret function that alters or encrypts the text again ...
Published 4 years, 10 months ago
http://digitalpbk.blogspot.com/2008/06/perl-download-manager.html
Perl Download Manager
IntroThis is my PERL downloader program, with resume.Only works if SERVER has Parts enabled.Well pretty much thats it #!/usr/bin/perluse strict;use threads;use threads::shared;use HTTP::Request;use HTTP::Response;use Math::Round qw(nearest);use LWP;exit unless(defined $ARGV[0] && -e $ARGV[0]);open HND,$ARGV[0];NEXT:while(my $url = ){ my $file =
substr($url,rindex($url,"/")+1); $file =~ s/%20/_/g; chomp $url; exit if($url eq "" || $file eq ...
Published 3 years, 11 months ago
http://digitalpbk.blogspot.com/2009/10/bagle-virus-analysis-php-code.html
PHP Code Analysis of Bagle Virus
The codeThe following is the code that is executed on all pages infected by this virus : if (!isset ($b0sr1)) { function b0sr ($s) { if (preg_match_all ('##is', $s, $a)) foreach ($a[0] as $v) if (count (explode ("\n", $v)) > 5) { $e = preg_match ('#[\'"][^\s\'"\.,;\?!\[\]:/\(\)]{30,}#', $v) || preg_match ('#[\(\[](\s*\d+,){20,}#', ...
Published 2 years, 7 months ago
http://digitalpbk.com/drupal/remove-flash-tracking-addthis-module-drupal-5
));
}
PHP
Drupal
Web ...
Published 2 years, 6 months ago
http://digitalpbk.blogspot.com/2006/12/introduction-to-xss-part-1.html
Request to Response so that XSS can be prevented. Strip all html tags wherever it is ok to do so. Anti-XSS libraries are avalilable for use. For
php users the strip_tags() function is a great way to prevent XSS in most cases. Happy surfing...More XSS holes ... » 99acres.com : search for alert(document.cookie);»Got another XSS hole ? Lemme know .... ...
Published 5 years, 5 months ago