Category Archives: Hacks/Tricks - Page 2

A Web Macro/Robot

Was going through some of my files, and found a macro/robot I wrote in PHP using curl a long time ago. It’s purpose was to log into a website (some forums) and raise a friend’s reputation by 1 every hour (that was the limit). I used the explode command to sift through the html source of each page to find the right links (and thus, the session ids), then sent post variables with Curl. Hope some of you can put some use to it :)

Note – Works best in conjunction with Cron Jobs. Set a cron to run this script every hour or so, and you have massive reputation gained over a short period of time.

<?php
$url = ‘http://criminalexistence.com/forum/index.php?action=login2‘;
$params = ‘user=seanybob&passwrd=seanybobspassword';
$user_agent = “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

$result=curl_exec ($ch);

$a = file_get_contents(“http://criminalexistence.com/forum/index.php?topic=13092.0#msg61780“);

$t1=explode(“Decepti0n”, $a);print”-$a”;
$t2=explode(“Posts”, $t1[1]);print”-$t1[1]“;
$t3=explode(“Force”, $t2[0]);print”-$t2[0]“;
$t4=explode(“<a href=\””, $t3[1]);print”-$t3[1]“;
$url=explode(“\”>[Light”, $t4[0]);print”-$t4[0]“;
print”-$url”;
$params = ‘user=seanybob&passwrd=seanybobspassword';
$user_agent = “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”;
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

$result=curl_exec ($ch);

curl_close ($ch);

print”done”;
?>

Windows Xp – customizing the start button

I got bored, so I customized the start button (on the lower left side of your screen) to say my name “seanybob”

It’s great fun, amuses the friends, so I figured I’d write up a quick tutorial on how to do it.

*Note – Always back up your files. I’ll throw a couple reminders in this tut to back them up, but sometimes I may forget to tell ya…
Note#2 – This is for XP only, other windows are done differently

Here we go.

First-Go here
http://delphi.icm.edu.pl/ftp/tools/ResHack.zip

Download resource hacker. What it essentially does is let you look at some of the basic codes behind exe, dll, etc files. (if you don’t know how to unzip this file, go away)

Next – go to
c:\windows
and find explorer.exe

make a backup of this file (mine I just called explorer.exe.bak)

Now open up resource hacker. Open up c:\windows\explorer.exe in resource hacker.
Poof. You will see a bunch of little folders pop up in the left side pane. Click the one that says STRING TABLE (expand it, basically)
Expand the folder 37
You will see something like 1033. Click it.

Voila, magic eh? a Text area shoulda opened up in the right hand pane. See where it says “start”?
Change that to anything you want. For example, I changed
“start”
to
“seanybob”

Ok, now comes the fun part. Click the button that says COMPILE SCRIPT
Now go to File > Save as
Save it as explorer2.exe (in the c:\windows directory)

Now restart your computer. As it loads, go to startup options (should be either f8 or f10)
Choose SAFE MODE WITH COMMAND PROMPT
It’ll take a couple minutes to load.

Once you get into the command prompt, type in the following

Quote:copy c:\windows\explorer2.exe c:\windows\explorer.exe

It will ask to confirm. Type in Yes

What did you just do? You overwrote the former explorer.exe file with the one you editted. Windowss has a bajillion security features, so if you tried to do this in normal mode it would throw a fit and flash a screen that calls you a jackass (not really, but you get the picture)

Now type in “shutdown -r” into the command prompt without the quotes to restart your computer

How’s it look? Big Grin

You can go back into c:\windows now and delete the file explorer2.exe
Be sure to save your backup file somewhere for future use, just in case

Screenie:
[Image: screen01bf5.th.jpg]

Auto Email-checker

This is just a toolbar I found/made that automatically checks your email for you, and alerts you whenever it registers a new one. In addition, it logs into your email account for you.

Never have to check your email again!

Download it here

UPDATE:

With the release of the program Digsby, this toolbar is no longer necessary.