Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Memory Calls?

 
Post new topic   Reply to topic Printable version
 View previous topic  not really a server question Post :: Post Ok, who is using Windows 3.11  View next topic  
Author Message
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Sun Apr 25, 2004 12:38 pm   Post maybe stupid    Post subject: Memory Calls? Reply to topic Reply with quote

Can you tell me the memory address where settings and nrg are stored at the client side? I'd like to write a kind of IRC bot (like those which already exist for HalfLife) which can show my nrg and current game settings (those in server.cfg) in a CONT related IRC chat channel.
Now if you think "why doesn't he write a BOT with NRG watch?" you should know that I want to do this in every zone, unrelated if I'm a kind of MOD (nrg watch) or not.
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sun Apr 25, 2004 3:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Are you talking about Continuum or VIE client? You can't access memory in Continuum from another process.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
nintendo64
Seasoned Helper


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 104
Location: Dominican Republic
Offline

PostPosted: Sun Apr 25, 2004 6:01 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You can still get only read access, ekted.

On CTM 0.37 (tried it long time ago)

CreateProcess() -> CTM stops sending/receiving packets

OpenProcess() -> works but only with those accesses:

Only Reading Memory Access.

PROCESS_QUERY_INFORMATION
PROCESS_VM_READ

Won't work with (CTM won't simply allow reading/writing memory):
PROCESS_ALL_ACCESS
PROCESS_VM_WRITE

Rest:
i didn't try.

Qndre you can use the allowed access and find your memory addresses, most "cheating programs" like Winhack, Artmoney, uses OpenProcess with PROCESS_ALL_ACCESS, so it won't work, you can write your own program to find the addresses, you should be capable of doing that.

-nintendo64
Back to top
View users profile Send private message Add User to Ignore List
Jackmn
Newbie


Joined: Apr 02 2004
Posts: 13
Offline

PostPosted: Sun Apr 25, 2004 8:52 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Hmm, are the positions of cloaked/stealth ships still sent to clients without xradar?

If so, being able to read memory is probably a problem.

( Or perhaps it was fixed in .38 )
Back to top
View users profile Send private message Add User to Ignore List
nintendo64
Seasoned Helper


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 104
Location: Dominican Republic
Offline

PostPosted: Sun Apr 25, 2004 10:01 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

i doubt is a problem, why don't you verify this again on a higher version that 0.37.

-nintendo64
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Sun Apr 25, 2004 11:14 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Also, private frequencies.
Back to top
View users profile Send private message Add User to Ignore List
Qndre
Server Help Squatter


Gender:Gender:Male
Joined: Jan 25 2004
Posts: 295
Offline

PostPosted: Mon Apr 26, 2004 7:28 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Jackmn wrote:
Hmm, are the positions of cloaked/stealth ships still sent to clients without xradar?

Yes, they are! Tried it out with my client on my own server. (my client is SysOP so I can join without checksums)
Nintendo64 wrote:

[..]
you can write your own program to find the addresses, you should be capable of doing that.

It will require at least C (maybe ASM). I doubt I'll be able to do it in a short amount of time but I'll try. (I'm trying to learn ASM btw)
Back to top
View users profile Send private message Add User to Ignore List
mrcatid
Guest


Offline

PostPosted: Mon Apr 26, 2004 11:54 pm   Post maybe stupid    Post subject: RE: no way! Reply to topic Reply with quote

Actually, you can get write access to Ctm without doing anything major; the hypothetical programmer just needs to spend a bit more time looking around on MSDN...
Back to top
mrcatid
Guest


Offline

PostPosted: Tue Apr 27, 2004 12:00 am   Post maybe stupid    Post subject: RE: reading energy Reply to topic Reply with quote

In SubSpace, the player data was encrypted in memory. So, you can't just read it, you need to decrypt it too.

Furthermore, the list of players was a giant array of pointers, only the first N of which were actual players. and the N (number of players) was stored encrypted elsewhere.

Now you may be thinking "but i only want to read MY energy", well, your energy is stored in a player info structure just like everyone else's, in that big list, and with the same protections.

PriitK's client may be less "paranoid" about these things, but I wouldn't bet on it.
Back to top
mrcatid
Guest


Offline

PostPosted: Tue Apr 27, 2004 12:06 am   Post maybe stupid    Post subject: RE: reading zone settings Reply to topic Reply with quote

You may also come up against protections of the zone settings, since this is one of the concessions (some say failings) of the SubSpace protocol. No one wants their zone settings released, but every client has a copy of the more sensitive ones: yes, some will be missing from the info sent by the server, because some are server-side.

Since people are so possessive and secretive with their settings, I would be shocked if PriitK did not encrypt those in memory. If you find that he doesn't, or that the settings are dirty in memory somewhere they can be read in plaintext, you should report that as a bug.
Back to top
Jackmn
Newbie


Joined: Apr 02 2004
Posts: 13
Offline

PostPosted: Tue Apr 27, 2004 12:45 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

As for why you can't open the process...

check GetLastError()
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 34 page(s) served in previous 5 minutes.

phpBB Created this page in 0.572728 seconds : 35 queries executed (83.7%): GZIP compression disabled