John117 Posted August 13, 2007 Share Posted August 13, 2007 using xp and IE6 (maybe IE7) it is possible to hide any file on a desktop and open it via the IE address bar. Ex . . . I rename a working outlook shortcut to www.yahoo.com, then I hide the shortcut using hidden under general properties. If the user types www.yahoo.com in their IE addressbar, Outlook will launch I have been working on a random insult generator based on the excel proof of concept from www.glynnconsulting.co.uk I have taken it about as far as I care to as it now serves my purposes Code below. Besure to place all three text files, and and the compiled exe on the desktop then hide them. Text file names are important. Add your own insults as you see fit Currently there are about 2.3 million possibilities. For spacing I am using Alt+0160 to center the insult CODE#include <GuiConstants.au3> #include <file.au3> #include <IE.au3> Dim $aRecords, $bRecords, $cRecords If Not _FileReadToArray(@ScriptDir & "\A.txt", $aRecords) Then MsgBox(4096, "Error", " Error reading A.txt log to Array error:" & @error) Exit EndIf If Not _FileReadToArray(@ScriptDir & "\B.txt", $bRecords) Then MsgBox(4096, "Error", " Error reading B.txt log to Array error:" & @error) Exit EndIf If Not _FileReadToArray(@ScriptDir & "\C.txt", $cRecords) Then MsgBox(4096, "Error", " Error reading C.txt log to Array error:" & @error) Exit EndIf $sText = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\", "Window Title") $oIE = _IEAttach($sText, "WindowTitle") $MyMessage = $aRecords[Random(1, UBound($aRecords) - 1, 1) ] & $bRecords[Random(1, UBound($bRecords) - 1, 1) ] & $cRecords[Random(1, UBound($cRecords) - 1, 1) ] $sPage = "<HTML><HEAD></HEAD><BODY>" & " " & $MyMessage & "</BODY></HTML>" _IEDocWriteHTML($oIE, $sPage) sleep (1000) _IENavigate($oIE, "http:\\www.google.com") A.txt CODEAll the charisma of a All the charm of a All the elegance of a All the finesse of a Are you really a Are you related to a As likeable as a As much fun to be with as a As welcome as a Basically, you are a Be gone, you Brains of a Buzz-off, you Can't you be less of a Did you have to try hard to become a Did you learn manners from a Do you enjoy being a Do you take pleasure in being a Don't ever come back, you Don't give me that, you Don't take this the wrong way but you're a Don't they shoot people like you, you Drop dead, you Even your best friend calls you a Get lost, you Get out of my sight, you How come you're such a How did I find such a How did you get to be such a I assume you are trying to be a I can finally say that I've met a I can tell that you are a I hate to be critical, but you're a I just know you're a I know your sort, you I would describe you as a I'd prefer the company of a I'd rate you slightly lower than a I'd rather spend time with a I'd rather trust a I'll be diplomatic and only call you a I'm looking at a Inferior to a It would be a kindness to call you a It's an understatement to say that you're a It's not my fault you're a I've had more fun with a I've never seen a worse example of a Keep your distance, you Let me compare thee to a Never before have I met such a Run along now, you Shove off, you Shut up, you Sod off, you Take heed, you The charm and personality of a The last thing I need is another The truth is, you're just a There's no cure for being a There's nothing I hate more than a There's nothing worse than a Thou art a To me, you resemble a To put if kindly, you are a To put it mildly, you're a Up yours, you Was your mother a Watch it, you Well, aren't you just a Were you conceived by a Were you descended from a Were you raised by a Were you spawned from a Were you the illegitimate offspring of a What are you looking at you What colour is the sky in your world, you What did you just call me, you What made you such a When all is said and done, youre a Where did you learn to be such a Who asked you to butt in you Who asked your opinion you Who taught you to be such a Why am I wasting my time with a Will I ever find a bigger example of a You You are a You are a fine example of a You are best summed up as a You are far worse than a You are inferior to a You are the living definition of a You are the world's worst example of a You are what we in the trade refer to as a You are worryingly similar to a You can't help being a You carry on like a You come across as a You compare unfavourably with a You couldn't hold a candle to a You couldn't outwit a You do a good impression of a You don't even qualify as a You have all the desirability of a You have all the dynamism of a You have been found guilty of being a You have degenerated into a You have my pity, you You have the brains of a You have the deneamour of a You have the manners of a You have the social skills of a You look like a You poor excuse for a You rank infinitely lower than a You remind me of a You smell like a You son of a You were spawned from a You would even offend a You wouldn't match up to a You'd be rejected by a You'd have to improve to become a You'd have to progress to become a Your mother was a You're about as engaging as a You're about as entertaining as a You're indistinguishable from a You're just another You're such a You're the spitting image of a You're worse than a May I compare thee to a B.txt CODEabhorrent abnormal absurdly revolting absurdly stupid abysmal awful bed wetting bewilderingly stupid blathering blemished bloated blood sucking boring brainless bulging callous catastrophic chubby clumsy cockeyed complete and utter contaminated cowardly craggy old criminally insane decaying decomposed decomposing defective degenerative degraded delinquent deplorable little depraved desperately hideous devious diabolical dirty dirty little dirty, low-down disagreeable little diseased disfunctional disgusting little dishevelled dismal old disreputable dithering dreadful little embarrassingly awful evil exceedingly disgusting exceptionally moronic extraordinarily repulsive fat fat and ugly fat, ugly, ingorant festering foul-smelling ghastly ghastly little gibbering good-for-nothing great big gruesome gruesomely deformed gut-wrenching hairbrained half-witted heinous hideous hopeless horrific inbred incontinent incredibly dull incredibly foolish little incredibly stupid incredibly ugly incredibly unpleasant irredeemably repulsive irredeemably stupid irredeemably ugly lousy little mad miserable morally bankrupt moronic nasty odorous pathetic pathetic little perverted pox-ridden pus-filled putrefying putrid rabid rancid reeking reprehensible repulsive revolting ridiculous little rotten sad little savage scabby old scum-sucking scurvy-ridden second-rate shameless slithering socially inadequate spotty steaming great stench-emmiting stinking stupid terminally stupid terrible totally unhinged trashy little truly awful truly grotesque truly miserable truly revolting ugly unbelivably stupid unbelivably ugly unpleasant unsightly unspeakable unspeakably hideous unspeakably ugly vile and disgusting whiffy wretched little zombie flesh-eating C.txt CODEabcess abomination afterbirth armpit assault on the senses baboon baboon's backside bacteria badger barnyard animal bint bogeyman bogtrotter bonehead brazen hussy bricklayers' bum bucket of bile buttock cabbage cankerworm carcass caveman cess-pit cess-pool cheapskate circus freak corpse cow pat cretin dead dog dead fish deadbeat delinquent dimwit dog breath donkey dotard dunderhead dung heap earthworm earwig farty pants floozy gimp git goat gorilla gremlin grot bag hag hamster harlot headcase headless chicken headless corpse hippy horse's backside idiot ignoramus imbecile jock strap knucklehead leper lizard low-life maggot maniac mass of slime monster moron nappy stain numbskull nutcase old fart oozing boil orangutan pair of dirty underpants pig pile of bat droppings pile of entrails pile of poo pile of vomit pit of pestilence plague upon humanity pool of pigswill porker prat rat rat bag reprobate reptile scrubber scumbag scuzz-bucket sheep shrew skid mark skunk slapper slob slug smeghead strumpet tart toad toadstool toe-rag toilet-mouth trollop tub of lard turd turnip vagabond vegetable vulture wart waste of space weakest link weasle wench wind bag wombat worm zit Thanks goes out to DaleHohm, and mikehunt114 for critical _IEDocWriteHTML and _Attach help Link to comment Share on other sites More sharing options...
idusy Posted August 13, 2007 Share Posted August 13, 2007 using xp and IE6 (maybe IE7) it is possible to hide any file on a desktop and open it via the IE address bar.Confirmed on Internet Explorer 7. Neat script Link to comment Share on other sites More sharing options...
John117 Posted August 13, 2007 Author Share Posted August 13, 2007 (edited) idusy, thanks for the verificaation! Also works on vista but will reveal that it's running an exe in the address bar . . . Edited August 13, 2007 by Hatcheda Link to comment Share on other sites More sharing options...
John117 Posted August 15, 2007 Author Share Posted August 15, 2007 Anyone having any fun with it? Link to comment Share on other sites More sharing options...
dandymcgee Posted August 15, 2007 Share Posted August 15, 2007 Lol I never thought IE browsing to a file in place of a webpage... (I use firefox, and it doesn't do that). Might come in useful somewhere... hehe . - Dan [Website] Link to comment Share on other sites More sharing options...
John117 Posted August 15, 2007 Author Share Posted August 15, 2007 Good to hear! Link to comment Share on other sites More sharing options...
mattw112 Posted August 15, 2007 Share Posted August 15, 2007 So I created the three txt files on the desktop and made them hidden. Then I copied your code into autoit and tried to compile but got this error: C:\Documents and Settings\u452514\Desktop\testInsult.au3(27,40) : ERROR: syntax error (illegal character) $sPage = "<HTML><HEAD></HEAD><BODY>" & " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ So I changed the line to read: $sPage = "<HTML><HEAD></HEAD><BODY>" & $MyMessage & "</BODY></HTML>" I then compiled on the desktop as "www.yahoo.com" and made it hidden I opened a webpage and typed www.yahoo.com in the address bar. The autoit file executes and then exits without doing anything (that I can see) Anything I'm forgetting? Terry Link to comment Share on other sites More sharing options...
John117 Posted August 15, 2007 Author Share Posted August 15, 2007 (edited) Kinda odd about the illegal character thing. (I am guessing it changed the format when posting here.) It compiles just fine for me. I have added a file for you to compile here. Please try the following. * Unhide everyting. * Besure that you have text files named A, B, and C on the desktop * Use my code and name it as named currently * Open a single IE * Type www.yahoo.com -not HTTP:\\www.yahoo.com when you get all this to work do the following * Alter the script for your address needed. -replace yahoo with google or whatever in the script. -leave the http in the script though * Compile the script. * Copy it and name one www.youraddress.com, one youraddress.com and one youraddress -covers however they type it in ie * verify they still work * Hide all SIX files that's itwww.google.com.au3A.txtB.txtC.txt Edited August 15, 2007 by Hatcheda Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now