Search found 13 matches

by mimar
Wed Apr 05, 2006 8:12 am
Forum: madSecurity
Topic: Incorrect Registry Read Permissions Being Set
Replies: 10
Views: 26369

So like this? acc: IAccount; sec: ISecurityObject; sec := RegistrySecurity(...) AccountCache_Clear; acc := Account(...); sec.DAcl.DeleteItems(acc); sec.DAcl.NewItem(...); sec.DAcl.Flush; Also, is it the same way then for all other types of permissions? Do we only have pre-built functions for only fi...
by mimar
Tue Apr 04, 2006 9:26 pm
Forum: madSecurity
Topic: Incorrect Registry Read Permissions Being Set
Replies: 10
Views: 26369

Please, I can find out the required settings myself, but can you show a code snippet so I know what madAPI functions I need to call in which order?

Please :crazy:
by mimar
Tue Apr 04, 2006 8:09 am
Forum: madSecurity
Topic: Incorrect Registry Read Permissions Being Set
Replies: 10
Views: 26369

I mean, how can I grant a named user Read, or Write access, to a specified key; without damaging existing permissions? (Just like the way the file version works)
by mimar
Tue Apr 04, 2006 8:06 am
Forum: madSecurity
Topic: Incorrect Registry Read Permissions Being Set
Replies: 10
Views: 26369

I just want to be able to set Read and Write access.
Might it be possible for you to post a code snippet for those tasks?
by mimar
Mon Apr 03, 2006 10:10 pm
Forum: madSecurity
Topic: Incorrect Registry Read Permissions Being Set
Replies: 10
Views: 26369

I am using the following code:

Code: Select all

acc: IAccount;
sec: ISecurityObject;

sec := RegistrySecurity(...)
AccountCache_Clear;
acc := Account(...);
sec.DAcl.SetFileAccess(acc, false);
sec.DAcl.Flush;
by mimar
Sun Mar 26, 2006 12:38 am
Forum: madSecurity
Topic: Incorrect Registry Read Permissions Being Set
Replies: 10
Views: 26369

Incorrect Registry Read Permissions Being Set

It seems setting read permissions on a registry key assigns an incorrect attribute. The KEY_CREATE_LINK is assigned instead of the correct KEY_NOTIFY value.

Is there a possible fix/workaround for this? Can an API be called to resolve the issue, or do we wait for the next madSec update?
by mimar
Sat Oct 01, 2005 4:33 pm
Forum: madSecurity
Topic: Create Remote Shares
Replies: 1
Views: 7689

Create Remote Shares

Is it possible to create shares on remote systems on a network using these functions?

For instance, can I create a new share on a computer on my network (provided I have the access rights)?

Is this possible with Windows at all?
by mimar
Wed Aug 31, 2005 3:50 pm
Forum: madKernel
Topic: Find out if a process takes 100% CPU?
Replies: 1
Views: 6147

Find out if a process takes 100% CPU?

Hi

Is there a way I can use madKernel to find out if there are processes which are stuck/hung? Easiest way to do this would be to find out if there is anything that is taking 100% CPU, I think, which is what I want to do?

Sinan
by mimar
Tue Aug 16, 2005 12:06 am
Forum: madBasic
Topic: Update String Table
Replies: 0
Views: 10694

Update String Table

Would anyone have any idea on how to update a single string in a single string table?

Ex:

Code: Select all

UpdateStringTable(StringID: Integer; NewValue, UpdateFile: String);
But this seems to be impossible to do - almost :sorry:

Anybody have any idea?
by mimar
Mon Jul 18, 2005 10:57 pm
Forum: madBasic
Topic: Access Violation in MadRes
Replies: 3
Views: 10614

I actually haven't installed the MadExcept package, because I do not want custom exception handling. Is there any other way I can get you the information you need?
by mimar
Mon Jul 18, 2005 10:55 pm
Forum: madBasic
Topic: 64 Bit Support in MadRes?
Replies: 11
Views: 31606

Well, I have tried it out - I am happy to say MadRes works better than the Visual Studio editor, and the default Win32 API functions. However an exception is raised upon calling the Finalize... function, so there seems to be some room for improvement.
by mimar
Sat Jul 16, 2005 3:32 pm
Forum: madBasic
Topic: Access Violation in MadRes
Replies: 3
Views: 10614

Access Violation in MadRes

I have the following code, which raises an access violation in the EndUpdateResourceW function. I am injecting a 500 megabyte cab file into the executable that I am updating. Please let me know if this might be a bug in MadRes, or I am doing something wrong? hSrc := CreateFile(PChar(Temp + ExtractFi...
by mimar
Sat Jul 16, 2005 3:03 pm
Forum: madBasic
Topic: 64 Bit Support in MadRes?
Replies: 11
Views: 31606

64 Bit Support in MadRes?

Does MadRes support updating 64 bit executable images?
Is the 64 bit header and data preserved correctly?
I notice both the WinAPIs and Visual Studio editor intermittently crash when working with 64 bit images.

So does MadRes have support for IA64, X64 executable images?