Go Back   FileForums > Games > Game Coders
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24-02-2008, 14:16
SkOss|nO SkOss|nO is offline
Junior Member
 
Join Date: Feb 2008
Location: Los Santos
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SkOss|nO is on a distinguished road
Useful tool for Code shifting

Hi men, i coded this tool in 2 version VB6 and .NET, it's a tool to know the Modules loaded in memory from a process, and calculate the offset and base address, useful for code shifting.
the VB6 version uses the createtoolhelp32snapshot API and seems to work for all processes but not the system processes, but for the games and other processes there is no problem, the .NET version work for all, system and not system processes, so is advisable for people with the framework installed.
Enjoy!

UPDATE:
Link Updated
I have added a version using the PSapi API that is able to load system processes and not, as the .NET version, thx TippeX for advice

DOWNLOAD:
http://www.megaupload.com/it/?d=L1B8ATJM

Last edited by SkOss|nO; 25-02-2008 at 15:58.
Reply With Quote
Sponsored Links
  #2  
Old 24-02-2008, 21:42
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
why oh why oh why did u do it in vb / .net, its bloated and not really 'suited' for training or whatnot.. put simply vb is shit... why not try coding in a better language and not one suited for noobs?

and using createtoolhelp32 api only works on 9x os's (toolhelp isnt present on nt os's afaik).. you need to use psapi instead...
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
  #3  
Old 25-02-2008, 05:27
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
Wow TippeX youve been very grumpy lately :P

At least he done something to help others. You dont get anything like that these days anymore
Reply With Quote
  #4  
Old 25-02-2008, 05:34
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
heh yeh cos my hands are tied..
and naw im not being grumpy, maybe it comes across that way, but im trying to point out to people starting to code tools etc / learning to code that vb may seem a good idea at the time, but really... it is not
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
  #5  
Old 25-02-2008, 15:37
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
VB.net is my main programming language because of ease of use. If I need to toss together something for accounting and yet a couple of complex mathematical thingamajigs, VB.net is the way to go. Over time I have become so used to it that its all I use nowadays (except ASM for the good ole stuff )

As for VB.net not being suited for trainers... well is this a trainer or a tool? =/ Either way, modern computers are so fast today that the bloat doesn't really matter (tho I agree .NET architecture is inefficient to the extremes... every 2 seconds it loads and unloads 14 modules due to crappy coding...).
__________________
Sanity is for the weak.
Reply With Quote
  #6  
Old 25-02-2008, 16:17
SkOss|nO SkOss|nO is offline
Junior Member
 
Join Date: Feb 2008
Location: Los Santos
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SkOss|nO is on a distinguished road
Quote:
Originally Posted by TippeX View Post
why oh why oh why did u do it in vb / .net, its bloated and not really 'suited' for training or whatnot.. put simply vb is shit... why not try coding in a better language and not one suited for noobs?

and using createtoolhelp32 api only works on 9x os's (toolhelp isnt present on nt os's afaik).. you need to use psapi instead...
Relax man, I took it as a council and i made a PSapi version, i have updated the link and now there are .NET, VB6 Psapi and VB6 CreateToolhelp32, anyway thx for the council, but ther is no need to criticize the program only because is made in VB, sure C++ is better but if it work what is the problem? I agree with caki, .NET is not the best as performances, but for a tool like this there are not differences between languages, anyway thx for the council of PSapi
Quote:
Originally Posted by DABhand
Wow TippeX youve been very grumpy lately :P

At least he done something to help others. You dont get anything like that these days anymore
I Love this man Hey DAB it's great to se you always active here, Keep supporting Game Hacking
Reply With Quote
  #7  
Old 25-02-2008, 23:30
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
for me there is every need, and its really for your benefit...
eventually (hopefully soon) you'll realise that vb is a 'prototype' language, designed for prototyping code, and while it is easy to code, its bloated and not best designed for certain applications, like process monitoring, dumping, training, cracking / hacking related stuff.. its fine for inet, file stuff etc simply because the inet lags, files have access times and so on.. put simply its slow.. bloated and no matter what you think of your coding skills, you will always be viewed as a 'noob' coder simply because its an 'easy' language..

getting jobs in the industry for example usually require c/c++/asm knowledge, its rare to see jobs asking for vb coders (unless its some database program, or similar)... so changing languages to a 'better' one will benefit you in the future if you plan to get a job in the industry.. and once you switch you'll see what visual basic actually did.... and that was to hide most of how everything works in the windows system, eg: do you actually know how the text1.text="vb sux" works?.. by it making everything easy it 'limits' your understanding of the operating system, which in turn makes you a worse coder...
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
  #8  
Old 26-02-2008, 02:14
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
This is the same problem as having chosen between BASIC and assembly on a microcomputer in the 80's or choosing between a batch/shell/Perl/awk script or C/C++ today (mostly) under a Unix flavor. The former is easy and simple but not powerful, the latter vice versa.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #9  
Old 26-02-2008, 03:10
SkOss|nO SkOss|nO is offline
Junior Member
 
Join Date: Feb 2008
Location: Los Santos
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SkOss|nO is on a distinguished road
Ok ok men, anyway i don't made it to show my skill to world, but simply hoping to do something of useful, and anyway a small tool like this of VB has only the declarations, the rest are only API functions, in my opinion isn't good to refuse a tool because the language used for it, but sure you are free to appreciate or refuse it, probably was not a good idea to release it.
Greetings!
Reply With Quote
  #10  
Old 09-03-2008, 05:56
Synaesthesia Synaesthesia is offline
Registered User
 
Join Date: May 2007
Location: Incensed
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Synaesthesia is on a distinguished road
Good work, man. Instead of listening to all the bad mouths around, just evolve your skills in what ever language you want, and later you can shift them. It's not hard. Those stating VB is for the noob are so used to C++, that they think the rest of them languages are crap. Each with its beauty, I say. Out..
Reply With Quote
  #11  
Old 19-03-2008, 14:36
pikachu5501 pikachu5501 is offline
Senior Member
 
Join Date: Oct 2006
Location: canada
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
pikachu5501 is on a distinguished road
Quote:
modern computers are so fast today that the bloat doesn't really matter
well, it is not about performance. It is about limits. And stuff done in VB needs shitloads of runtimes and dll to run.

So, yes, vb is for "noob" but are we not noob at first when we learn ?.

My first language (beside "logo" at school when i was a kid) was Basic, quick-basic, powerbasic(the best basic for PC at this time and goddamn fast and could compile rather small exe files.). I did a lot of neat stuff with it but eventually i reached it's limit.

Anyway, learning C/C++ is reeealy easy. If you can count until 10 then Within 2 day you will get the basic of it like nothing. There is tons of tutorials and easy to install free C compiller on the net.

When you learning C/C++, you will notice that there is a lot more of language that look like C/C++ so it will be easier after to learn other language.

Anyway, you probally know all this but i just wanted to brag about it

Last edited by pikachu5501; 19-03-2008 at 14:43.
Reply With Quote
  #12  
Old 19-03-2008, 23:52
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
Quote:
Originally Posted by Synaesthesia View Post
Good work, man. Instead of listening to all the bad mouths around, just evolve your skills in what ever language you want, and later you can shift them. It's not hard. Those stating VB is for the noob are so used to C++, that they think the rest of them languages are crap. Each with its beauty, I say. Out..
not quite, i've coded in dos 8 bit, 16 bit, pmode, 32 bit, vb dos, vb 16 bit, vb 32 bit, delphi, c, c++, and then fully onto win32 asm, so i know vb is a shit language, it hides so much from the end coder, so the coder will never evolve into something decent... hence my advice of dropping vb and moving to a better language like c/c++ or asm, which then makes the coder better skill wise.. vb is a prototyping language.. plain and simple and ditching it will increase your chances of getting a job in the industry... how many jobs out there (excluding database shit) require vb?...
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
  #13  
Old 25-03-2008, 06:33
SkOss|nO SkOss|nO is offline
Junior Member
 
Join Date: Feb 2008
Location: Los Santos
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SkOss|nO is on a distinguished road
Quote:
Originally Posted by Synaesthesia View Post
Good work, man. Instead of listening to all the bad mouths around, just evolve your skills in what ever language you want, and later you can shift them. It's not hard. Those stating VB is for the noob are so used to C++, that they think the rest of them languages are crap. Each with its beauty, I say. Out..
Thx, i'm glad that you appreciate it

for the rest i think that what TippeX say is correct and it's a good advice i know that VB is limited and C++ is more powerful, but what i tryed to say is that this discussion is totally offtopic, i simply made a program and opened this topic to release it and not to talk of the best language.
Reply With Quote
  #14  
Old 25-03-2008, 09:28
TippeX's Avatar
TippeX TippeX is offline
zeroes and ones.....
 
Join Date: Jan 2003
Posts: 3,842
Thanks: 2
Thanked 33 Times in 23 Posts
TippeX is on a distinguished road
sorry yeah, i kind of side tracked the thread.. apologies, and the program is a nice thing to start off with (i did something similar in protectionid.. in asm though, with 'internal' methods and psapi/toolhelp - try finding the addresses of drivers with psapi heh )...

vb / .net is slowly getting more popular, mostly because of its 'stability', but with its stability the coder does lose a fair amount of how the operating system actually works (which was my main point) which might be microsoft's aim.. who knows..

and to be honest, you raised the languages thing in the first post..

actually, also, how is it useful for 'code shifting'.. if you mean code injection (either via a dll, or virtualallocex) then you're way off, there is no guarantee that the modules load at the same address on different systems (thats why dll's have relocations...).... if you mean something else, please explain
__________________
bleh
DO NOT PM me with questions, leave that in the forums...ESPECIALLY if i dont know you...
Reply With Quote
  #15  
Old 25-03-2008, 18:21
DABhand DABhand is offline
Banned
 
Join Date: Nov 2004
Location: Near my PC
Posts: 5,406
Thanks: 0
Thanked 3 Times in 3 Posts
DABhand is on a distinguished road
Thats what Code Shifting is Tip, Coding that shifts addresses.

The address may change, but the contents and offsets dont

So obviously finding where say for example a game loads a specific dll and then use your trainer for that address+offset for things like health etc.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to HIDE Daemon Tools under VISTA PheonX PC Games 1 03-11-2006 08:25
Ms Cabinet Tool Maelstorm CD/DVD Copy Protections & Utilities 5 05-09-2002 15:30
Dark Cloud tool GunBlade PS2 Games 0 22-12-2001 13:28
Tool to replace a game's audio tracks with your own audio tracks gap DC Games 1 27-06-2001 17:35
where can i find a tool that let me put a patch in bin or iso file for the pc and not for the psx!!! hjkh PC Games 1 30-11-2000 15:12



All times are GMT -7. The time now is 21:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com