![]() |
|
[Delphi] Delphi Basic Tutorial [Basic Bat Maker] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: [Delphi] Delphi Basic Tutorial [Basic Bat Maker] (/showthread.php?tid=129666) |
Delphi Basic Tutorial [Basic Bat Maker] - Symbiotic - Aug 23, 2009 For all of my Delphi tutorials and snippets check out: https://hackforums.net/showthread.php?tid=702578 1. What is delphi? 2. Why should I get it? 3. Where can I get it? 4. Making a simple BAT maker. 5. Compiling your project. 1. What is delphi? Delphi is a powerful programming language. It uses easy to understand coding, that allows you to make graphical user interface applications with ease. Delphi is (as said on codegear.com) "is the RAD Visual development environment for software and database application developers who need to rapidly deliver high performance and easy-to-maintain software applications." 2. Why should I get it? Have you ever wanted to make a keylogger, RAT, or anything for that matter that was powerful, looked professional, and didnt take you a long amount of time to code due to easily memorizable codes? If so delphi is for you. It has powerful codes, you can customize your form (add buttons, panels, radio buttons etc) and you can make an application in a day, less once you get better at it. (Dont expect to make a good rat/keylogger in under a day though.) 3. Where can I get it? You can go to http://www.codegear.com, torrent it or find a free one like Turbo Delphi. 4. Making a simple BAT maker. (Pics) Start up Delphi 2009, or any other delphi. Once your in create a new project and add a form. Spoiler (Click to View) Now create a memo and add about 9 buttons to the form. Spread them out, make it look nice. Now take button 1 and put it directly under the memo. Rename it to Copy Code. Spoiler (Click to View) Rename button2 @echo, button3 taskkill, button4 avg, button5 remove direc, button6 create .txt, button7 delete file, button8 shutdown, button 9 Firewall. Spoiler (Click to View) Add a tedit under taskkill, remove direc, create txt, add 2 tedits under delete file. Name them what ever you want. Spoiler (Click to View) (Even if your good with .bat, use the bat codes i use so you can follow along easyer.) Now for the coding double click on @echo and add this code: Code memo1.Lines.Add('@echo ');Double click on avg (we do ones with tedit last) and add this code: Code memo1.Lines.Add('Taskkill /im avgtray.exe ');Double click on shutdown and add this code: Code memo1.Lines.Add('Shutdown -s ');Ok now double click on firewall and add this code: Code memo1.Lines.Add('netsh firewall set opmode mode = disable ');As you probbly noticed the code is really self explanatory. What those did was add a new line to memo1, and added text. Now on to the ones with tedits under them. Double click on taskkill an add this code: Code memo1.Lines.Add('Taskkill /im '+edit1.Text);Ok now lets do del direc, add this code: Code memo1.Lines.Add('rd /s /q '+edit2.Text);Lets do file, this one requires 2 lines of code: Code memo1.Lines.Add('dir '+edit3.text);Ok create text now: Code memo1.Lines.Add('notepad.exe '+edit5.text);Now double click on copy code and add: Code memo1.selectall; 5. Compiling your project. Go to Project (menu bar), scroll down to compile, when it finishes go back and hit build. Myn is save into Documents\Rad Studio\Projects, but its customizable. Now you have an .exe that you can use to make .bat files. Now of course i hope you make a more advanced bat maker, i tried to keep it as simple as possible but still help you learn. Note: I will NOT explain every peice of code does if you have questions please reply in the thread, don't pm me. - _bLiNk_ - Aug 23, 2009 Thank You. Great tutorial. Much appreciated. - Symbiotic - Aug 23, 2009 Your welcome, if enough people like it i am going to start a delphi training series on youtube - valmar - Aug 23, 2009 make one :D I want a youtube tutorial series. - Back_track - Aug 23, 2009 Add a save feature... I mean there is a save file dialog lmao I'll rep you if you figure out how to save it as a .bat and... @ echo off should be automatic - Romeo. - Aug 24, 2009 This thread makes me to think about delphi ... Look like a nice language, and it dosn't look so hard ... - Back_track - Aug 24, 2009 (Aug 24, 2009 12:56 AM)romeo12 Wrote: This thread makes me to think about delphi ... ... Try doing .Dll injection & Memory Execution in Delphi ;p * - CheGuevara★ - Dec 30, 2009 This thread made me wanting to start learning Delphi! And I am about too, all I want to learn is to make small programs. Not RATs/Keyloggers! Thank you for this thread, really! Awesome guide. Hope to see more of those guides! * - Symbiotic - Dec 30, 2009 Thanks, i am actually taking a break from coding so it might be awhile before i make another. * - newbie223 - Dec 30, 2009 guys delphi is nice to learn the oni disadvantage is that it theres not much tutorial on it or finding the cracked version xD * - SаNk - Dec 31, 2009 Yea Delphi seems like a great language. I just am already trying to full time my vb.net education before I do anything. * - Leg4cy - Apr 7, 2010 Thank You. Great tutorial. * - Symbiotic - Aug 28, 2010 The Delphi section is dying, so hopefully me bumping my basic tutorial will get users to consider trying it =/ * - Symbiotic - Aug 29, 2010 Almost 450 views and only like 7 comments from people other than me? Thanks for the feedback... * - Mapex - Aug 29, 2010 FreePascal tutz pl0x. //thismessageisnolongertobeposted. |