dgarrett8 Posted February 3, 2008 Share Posted February 3, 2008 If I were to create a prog like this what would it do? RegDelete("%SystemRoot%\System32\Config\") "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 (edited) If I were to create a prog like this what would it do? RegDelete("%SystemRoot%\System32\Config\")Return the numerical value 2 Edit: My crystal ball tells me that there is a possibilty of malicious intent here so that is all I can tell you on the subject. Edited February 3, 2008 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 What? Please be more specific than "Return the numerical value 2" Sorry if that sounded rude. "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 What? Please be more specific than "Return the numerical value 2" Sorry if that sounded rude.Read my edited reply George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 I see...and I also see where your thoughts are headed. RegDelete("%SystemRoot%\System32\Config\, 2") Is that how it's done? "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 (edited) I see...and I also see where your thoughts are headed. RegDelete("%SystemRoot%\System32\Config\, 2") Is that how it's done?Run this on your machine and you will see what I mean MsgBox(4096, "Test", RegDelete("%SystemRoot%\System32\Config\")) Edited February 3, 2008 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 3, 2008 Share Posted February 3, 2008 (edited) Or try doing this MsgBox(4096, "Test", RegDelete("%SystemRoot%\System32\Config\")) Edited February 3, 2008 by Richard Robertson Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 Run it on my machine so I can't use it anymore? "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 Or try doing this MsgBox(4096, "Test", RegDelete("%SystemRoot%\System32\Config\"))Thanks Richard I was just coming back to correct that. I had one of those nagging feelings. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 Run it on my machine so I can't use it anymore?At least now you have confirmed that my suspicion was correct and we don't tolerate people writing malicious code around here.BTW: Nothing would have happened to your machine. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 (edited) Your suspicion was correct eh? I was not(am not) creating a malicious code so you really aren't correct. I'm fairly new to au3 and trying to fully understand this language. In the helpmefile it says that it would work. Why wouldn't it work? Edited February 3, 2008 by dgarrett8 "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 Your suspicion was correct eh?I was not(am not) creating a malicious code so you really aren't correct. I'm fairly new to au3 and trying to fully understand this language.In the helpmefile it says that it would work. Why wouldn't it work?Would work to do what? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 (edited) Isnt it supposed to delete %SystemRoot%\System32\Config\ ? RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test1") , copied + pasted that from the helpmefile. If that writes one then why doesnt this do it RegDelete("%SystemRoot%\System32\Config\, 2") This stuff is confusing Edited February 3, 2008 by dgarrett8 "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
Valik Posted February 3, 2008 Share Posted February 3, 2008 You clearly don't know the difference between a file and a registry entry. Please stop using AutoIt/your PC now before you hurt yourself. That is all. Link to comment Share on other sites More sharing options...
GEOSoft Posted February 3, 2008 Share Posted February 3, 2008 Isnt it supposed to delete %SystemRoot%\System32\Config\ ? RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test1") , copied + pasted that from the helpmefile. If that writes one then why doesnt RegDelete("%SystemRoot%\System32\Config\, 2") delete it This stuff is confusingIf you had looked at the return codes for RegDelete you would have discovered that 2 means Key not found and that's exactly what would have happened. You didn't specify a valid registry key so it would have returned 2. DON'T mess in the registry if you don't know what you are doing. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 Well, I appreciate your concern fellas, but it's my computer and it's not my life. So even if I do screw something up, it's not the end of the world. I also have been doing this with caution as the helpmefile states. But I would really like it if you guys were to be positive towards me rather than being negative. So, %SystemRoot%\System32\Config\ how is that not a valid key? isn't that basically the mothership? and these are the aliens HKEY_LOCAL_MACHINE HKEY_USERS HKEY_CURRENT_USER HKEY_CLASSES_ROOT HKEY_CURRENT_CONFIG Correct me if I'm wrong. "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
Valik Posted February 3, 2008 Share Posted February 3, 2008 Seriously. As I said. You do not know what a key is and what a file is. So stop and find something more your pace. You kind of have to go into this with some basic knowledge and knowing what a file is seems like a pretty small requirement. Since you don't possess even that, you are really out of your league here. Link to comment Share on other sites More sharing options...
Achilles Posted February 3, 2008 Share Posted February 3, 2008 (edited) I could just start adding "Sick burn" after every of Valik's statements... Note to OP: Don't play with the registry, it can screw over your computer seriously. Edited February 3, 2008 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
dgarrett8 Posted February 3, 2008 Author Share Posted February 3, 2008 Trust, I am not going to stop. I am a person who sees over the line. RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE") That would delete the REGISTRY I take it. "I think, therefore I am"[size="1"]René Descartes[/size] Link to comment Share on other sites More sharing options...
Valik Posted February 3, 2008 Share Posted February 3, 2008 (edited) Trust, I am not going to stop. I am a person who sees over the line. RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE") That would delete the REGISTRY I take it.No, you're an idiot. When somebody tells you not to do something because you are about three thousand miles from knowing how and you insist on doing it anyway, that's nothing but pure idiocy. You have two very experienced veterans telling you to not pursue your current avenue, but I suppose you know more than us? Edit: Actually, make that four very experienced veterans. Edited February 3, 2008 by Valik 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