473,396 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How To edit .dll files using c++

19
ive been trying to open dll files using c++, but could not, all that opens is a folder. Can someone help me please? Thanks - Fir3bat
Feb 19 '07 #1
28 20222
AdrianH
1,251 Expert 1GB
ive been trying to open dll files using c++, but could not, all that opens is a folder. Can someone help me please? Thanks - Fir3bat
Uh, why would you want to?


Adrian
Feb 19 '07 #2
Fir3Bat
19
i am asking, can you gimme a code that can do that, so i can edit some stuff on it. or Can only ASM do that
Feb 20 '07 #3
AdrianH
1,251 Expert 1GB
i am asking, can you gimme a code that can do that, so i can edit some stuff on it. or Can only ASM do that
Hey buddy, please be a bit more respectful. We are here to help, not do your bidding.

If you don't tell me what you need it for, I can't really help. And even if I could, without an apology, there is no reason for me to do so either.


Adrian
Feb 20 '07 #4
Fir3Bat
19
Ok well there is some Game That Requires an Engine
and you need to inject a dll file to get the CHEAT working

so what i need is to edit some values, or add more to do more stuff

If you know what i mean
Feb 20 '07 #5
RedSon
5,000 Expert 4TB
Actually I don't know what you mean. It sounds like you are trying to cheat at WoW or something. If you are looking for a dll injection then why dont you try to google it. Microsoft provides this facility in their libraries. You might be able to find an opensource tool that will allow you to do this but I dont know. Usually I err on the side of good programming practices so I have never needed to inject code into another process.
Feb 20 '07 #6
AdrianH
1,251 Expert 1GB
Ok well there is some Game That Requires an Engine
and you need to inject a dll file to get the CHEAT working

so what i need is to edit some values, or add more to do more stuff

If you know what i mean
Sorry, if you want to modify a dll, you will need specialised tools as mods of this sort are not usually trivial. So you will have to get at least partially if not fully into an assembler/disassembler. RedSon is correct in that you could probably find this by searching for it. Try finding some hacker sites. But be careful, sometimes they not only hack the programmes on their boards, they just might hack your browser. ;)


Adrian
Feb 21 '07 #7
Fir3Bat
19
k thanks alot

but cant c++ also edit dll files? and no its not on WOW.
some online game :D
Feb 21 '07 #8
Motoma
3,237 Expert 2GB
I guess it would help to know what the DLL is you are trying to edit. Is it one that came with the game, or is it a cheat engine that you are trying to modify? Is it a .NET or COM DLL?
Does the game use any cheat detection software, such as NProtect or PunkBuster?
What tool are you using to "edit" the DLL? You mentioned C++, but what environment? Visual Studio would be the best help in my oppinion, as it gives you a suite of tools for exploring DLL's.
I would advise you to play around with OllDbg and see if you can figure things out with that.
Feb 21 '07 #9
RedSon
5,000 Expert 4TB
Hey guys,

I don't think we should be very helpful for people who have admitted that they are trying to do something malicious. Motoma, I think you last post crossed the line. I'm not trying to start a flame war about it, because we are friendly, but I think we should all take a second to consider how much help we can offer to a question like this.

Just something to think about for the future.
Feb 21 '07 #10
NeoPa
32,556 Expert Mod 16PB
This is a messy area as CHEAT in gaming parlance often refers to power-ups or other similar boosts which are often considered a normal part of the game (and are often built in by the designer).
However, this is unlikely (though not impossible) to be the case with online gaming in a situation like this.
I think the OP should make a clearer point as to his intentions before expecting any further help.
Feb 21 '07 #11
RedSon
5,000 Expert 4TB
Right but in my expierence cheating in a game is a feature facilitated by the developer of the game through cheat codes or some combination of special key presses. Not by altering the compiled libraries of the game.
Feb 21 '07 #12
NeoPa
32,556 Expert Mod 16PB
Not everyone has your experience though, RedSon.
I think you were right to be suspicious of the OP, just maybe expect too much understanding of the issues from other members who may not be so well up on things
Feb 22 '07 #13
AdrianH
1,251 Expert 1GB
Not everyone has your experience though, RedSon.
I think you were right to be suspicious of the OP, just maybe expect too much understanding of the issues from other members who may not be so well up on things
Yeah, well, it was pretty obvious. He is just some punk kid trying to learn to impress people. :) jk. But seriously, the way the question was worded and how he got uppity when I asked what it was for...

But the thing is, if the programme is any good, mucking around with a .dll isn't going to do much. Security is built into these games. At best he would have just probably been booted off, at worst his IP would be band for a while. This is because stuff like he was talking about would (in a good implementation) have the info stored on a server. Once a sync error is found, he would have been kicked. Even on a P2P or 1on1 gaming system, it would have the same effect.

He would get nowhere with .dll mods.


Adrian
Feb 22 '07 #14
Motoma
3,237 Expert 2GB
Yeah, well, it was pretty obvious. He is just some punk kid trying to learn to impress people. :) jk. But seriously, the way the question was worded and how he got uppity when I asked what it was for...

But the thing is, if the programme is any good, mucking around with a .dll isn't going to do much. Security is built into these games. At best he would have just probably been booted off, at worst his IP would be band for a while. This is because stuff like he was talking about would (in a good implementation) have the info stored on a server. Once a sync error is found, he would have been kicked. Even on a P2P or 1on1 gaming system, it would have the same effect.

He would get nowhere with .dll mods.


Adrian
You are right, and I alluded to this in my initial response to the question.
Feb 22 '07 #15
Killer42
8,435 Expert 8TB
...But seriously, the way the question was worded and how he got uppity when I asked what it was for...
Actually, I felt that you misinterpreted that response. It sounded to me as though the OP simply tried to clarify what they were asking for.

On the other hand, perhaps I'm the one who misinterpreted. :)
Feb 28 '07 #16
Motoma
3,237 Expert 2GB
Actually, I felt that you misinterpreted that response. It sounded to me as though the OP simply tried to clarify what they were asking for.

On the other hand, perhaps I'm the one who misinterpreted. :)
This was the way I interpreted his response as well.
Feb 28 '07 #17
RedSon
5,000 Expert 4TB
Not everyone has your experience though, RedSon.
My experience... ?! How is my experience any different then the rest of the people playing video games? Everyone knows how to enter in cheat codes or press the buttons is a special order to get power-ups. All you have to do is find the cheats online and put them in. Look at something as old as the 8-bit Nintendo, several games I owned had cheats. Like Contra, I still remember the key pattern. Madden games, have madden cards some are even labeled as "Cheat".
Cheating in video games is part of the video game, its designed to be that way. Its either some debug tool that they left in as a cheat (like god mode in Doom) or it was purposefully designed to be a cheat (like Madden cards).

Editing and corrupting binary .dll's is malicious, it can't be argued otherwise. If this forum wants to help people with tasks like this, I am happy to share my knowledge on cracking, but I don't know if TSDN wants to go down that road.
Feb 28 '07 #18
Sebouh
78
Recourse Viewer is one tool i know that can edit .exe or .dll files. I haven't really used it much, but it's fun when you want to edit the GUI of programs, like replacing the donkey's face in eMule with your brother's, hehe...the expression on his face when he saw that..hehe!
Feb 28 '07 #19
Motoma
3,237 Expert 2GB
Recourse Viewer is one tool i know that can edit .exe or .dll files. I haven't really used it much, but it's fun when you want to edit the GUI of programs, like replacing the donkey's face in eMule with your brother's, hehe...the expression on his face when he saw that..hehe!
Resource Viewer is a good tool, however, it falls short of editing DLLs in the way our poster here desires. It is useful for editing resources, as the name suggest, images, icons, and strings are all fair game when using this tool.
Feb 28 '07 #20
RedSon
5,000 Expert 4TB
That type of editing is common for localization. Which is also designed to work that way with a program.
Feb 28 '07 #21
Sebouh
78
My bad, i mean to say XN Resource Editor.
Feb 28 '07 #22
NeoPa
32,556 Expert Mod 16PB
My experience... ?! How is my experience any different then the rest of the people playing video games?
I wasn't referring to people who play video games. I was referring to the moderators on this site.
Everyone knows how to enter in cheat codes or press the buttons is a special order to get power-ups. All you have to do is find the cheats online and put them in. Look at something as old as the 8-bit Nintendo, several games I owned had cheats. Like Contra, I still remember the key pattern. Madden games, have madden cards some are even labeled as "Cheat".
Cheating in video games is part of the video game, its designed to be that way. Its either some debug tool that they left in as a cheat (like god mode in Doom) or it was purposefully designed to be a cheat (like Madden cards).
Not all cheats in video games are as innocuous though.
Whatever people may think, EvenBalance are still struggling to keep haxors out of online gaming. My game (ET) is particularly badly hit by this problem as the ID keys are free and recreatable simply by deleting a file in your ET folder. This may not be the same for other FPSs.
Editing and corrupting binary .dll's is malicious, it can't be argued otherwise. If this forum wants to help people with tasks like this, I am happy to share my knowledge on cracking, but I don't know if TSDN wants to go down that road.
I certainly wouldn't support anyone (or even TSDN) deciding (in full knowledge) to help people with tasks like this. I can accept that our experts might give out such knowledge innocently but I, for one, would not want to be involved with any site that knowingly and deliberately helped anyone to cheat in online gaming.
Feb 28 '07 #23
Motoma
3,237 Expert 2GB
Whatever people may think, EvenBalance are still struggling to keep haxors out of online gaming. My game (ET) is particularly badly hit by this problem as the ID keys are free and recreatable simply by deleting a file in your ET folder. This may not be the same for other FPSs.
Has PunkBuster been hacked? Or is this what you are referring to when you mention deleting the ET folder?
Feb 28 '07 #24
NeoPa
32,556 Expert Mod 16PB
Has PunkBuster been hacked? Or is this what you are referring to when you mention deleting the ET folder?
PunkBuster can catch someone, but in ET the only way of identifying them is by the PB GUID. This is related to their ET Key file. When the file is deleted another one is created automatically by the game so it can be hard to track them :(
PunksBusted are doing a good job of trying to keep up (as not all hacks are detected by PB) but there are still very many hax that cannot be caught automatically by PB or even screenshot captures I'm afraid.
Techniques to foil them include randomly requested screenshots and logging these periodically to PunksBusted servers but it's certainly not a battle that's been won.
Feb 28 '07 #25
AdrianH
1,251 Expert 1GB
PunkBuster can catch someone, but in ET the only way of identifying them is by the PB GUID. This is related to their ET Key file. When the file is deleted another one is created automatically by the game so it can be hard to track them :(
PunksBusted are doing a good job of trying to keep up (as not all hacks are detected by PB) but there are still very many hax that cannot be caught automatically by PB or even screenshot captures I'm afraid.
Techniques to foil them include randomly requested screenshots and logging these periodically to PunksBusted servers but it's certainly not a battle that's been won.
What games are ET and PunkBuster?

Adrian
Feb 28 '07 #26
RedSon
5,000 Expert 4TB
PunkBuster is an anti cheating technology you can run on your mutliplayer servers. ET I'm not so surea bout.
Feb 28 '07 #27
Motoma
3,237 Expert 2GB
PunkBuster is an anti cheating technology you can run on your mutliplayer servers. ET I'm not so surea bout.
Enemy Territory. I am not sure, however, whether he is referring to Wolfenstein or Quake Wars. (I've been out of the FPS loop for a couple of years now).
Mar 1 '07 #28
NeoPa
32,556 Expert Mod 16PB
Sorry, I should have been clearer.
ET --> 'Wolfenstein - Enemy Territory'.
This is a freely downloadable 'upgrade' to 'Return to Castle Wolfenstein' (RTCW).
PunkBuster (PB) is technology or software developed to restrict cheating in the online gaming arena.
PunksBusted is a group set up by server admins (of various different games) to help server admins ensure that caught haxxors (hackers) can be stopped from playing on their servers using the PBGUID (PunkBuster Game User ID).
ETQW --> 'Enemy Territory - Quake Wars'.
A much anticipated, non-free, sequel to ET. This is due to be released shortly over the pond, but I don't know about Blighty :(.

Many of the recent hacks will actually involve software running on the client PC which is not any part of the game itself (so not easily detectable) but can affect both the operator's ability to see important items on the screen, as well as the operators ability to aim at the desired target quickly and accurately. These (retrospectively, WallHacks & AimBots) hacks can only be detected by the randomly requested screenshots that can be uploaded to the PunksBusted server (WallHacks) and by Speccing (where you see through their eyes - approximately) the suspected player (AimBots).

ET has very prevalent cheating due to two main effects of it being freely downloadable :
  1. The Key code to identify a player, being free, can be recreated ad infinitum.
  2. Being free, it is a very popular game.
Mar 1 '07 #29

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Tom | last post by:
Hello I am a newbie to VB .net 2003 environment. I have a database in sql server 2000 that was developed using vb. I would like to edit some of the .exe files that are used to collect and...
1
by: Angelos | last post by:
Hello, -I wrote a script that you use it to add products in the database. -Each product is associated with files. -In the Form to add the product you have to enter the product name in a textfield...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
2
by: Sin | last post by:
Hello everyone, I'm totally stumped at how little info I can find in MSDN or on the web concerning this. It's almost as if only microsoft personel hold the key to these secrets or something!!! ...
2
by: moonliver | last post by:
You can edit the source files in cs, why cant we do it in vb.net? Or more specifically, how can I get visual studio to not lock the files during run time?
2
by: Oenone | last post by:
I am developing an assembly that can be used either by a Windows Forms application or from within an ASP.NET web site. When running within the Forms app, I can break into the code while it is...
0
by: Brett Romero | last post by:
I can edit XML files fine on my work machine but not the home machine. They are both running WinXP Pro with VS.NET 2005 final. On the home machine, content in an XML or XSL file is highlighted. ...
10
by: setar | last post by:
How can I edit an xml file which has 250MB? I tried to use UltraEdit, Visual Studio, Eclipse, Stylus Studio and XMLSpy editors but these programs can't read this file because it is too big. SmEdit...
4
by: moondaddy | last post by:
I need to edit the text in many files so I'm writing a small routine to do this. First I have a method that loops through all the files in a directory and passes the full file path to another...
2
by: George Hardy | last post by:
hi all, to anyone that has had difficulty getting edit-and-continue to work in thier project: I had a project that I converted from vs.net2003, but edit-and-continue would not work. So, I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.