+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats

Members
Total Members: 129
Latest: dilpreetkaur
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 319
Total Topics: 160
Most Online Today: 2
Most Online Ever: 68
(October 18, 2019, 12:38:07 am)
Users Online
Members: 0
Guests: 1
Total: 1

Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Independent Call Girls in Chandigarh
« Last post by dilpreetkaur on June 21, 2021, 01:02:52 pm »
Hi! Guys, I'm Dilpreet Kaur from Chandigarh. Visit Our Website - Click Here 👉 dilpreetkaur.co.in


❤️[ Chandigarh Call Girls ]
❤️[ Chandigarh Call Girl ]
❤️[ Chandigarh Call Girls Service ]
❤️[ Chandigarh Call Girls Services ]
❤️[ Chandigarh Independent Call Girls Services ]
2
Windows programming / Re: Hi zwclose7. How to create process by using NT apis?
« Last post by zwclose7 on June 01, 2021, 03:09:52 pm »
Sorry, I am not coding anymore.
3
Windows programming / Hi zwclose7. How to create process by using NT apis?
« Last post by cqwrteur on May 31, 2021, 11:19:57 am »
What i want to do is creating a process under a Directory Handle.

Something like
Code: [Select]
dir_file df(L"working");
nt_process proc(at(df),L"a.exe",args,environ,{.in=in(),.out=out(),.err=err()});
Because this can prevent TOCTOU security vulnerability and avoids all kinds of path searching.

https://github.com/expnkx/fast_io/blob/ed97b6e828e47be1f9bfb0252b5cc9866cc4f993/include/fast_io_hosted/process_revamp/nt.h#L110

But NtCreateUserProcess/RtlCreateUserProcess does not provide functionalities to create a process with a directory handle.
https://cpp.hotexamples.com/examples/-/-/ZwCreateProcess/cpp-zwcreateprocess-function-examples.html

This is reactos' source code, but I do not know how to correctly set it up.
RtlUserProcessParameters

Any suggestions on how to correctly do this?

BTW, I want to support windows 2000 and windows xp.

You can join fast_io's discord if you can answer my questions in details.
https://discord.gg/vMKhB9Q
4
Chemistry / Re: Poison of the Day
« Last post by zwclose7 on March 16, 2020, 06:45:08 pm »
Name: Nicotine
Type: Nerve Agent
Source: Natural
Mechanism: Hell breaks lose
LD: 500mg / Skin contact
Nicotine is not nerve agent
5
General Discussion / IRC
« Last post by AzeS on February 17, 2020, 08:18:01 am »
h3ll0,

some IRC's would be very welcomming im not that forum type of guy so chat is more fun but i joined because i can find very usefull stuff here.
6
Chemistry / Re: Poison of the Day
« Last post by AzeS on February 17, 2020, 08:11:10 am »
Name: Nicotine
Type: Nerve Agent
Source: Natural
Mechanism: Hell breaks lose
LD: 500mg / Skin contact
7
Chemistry / Re: Poison of the Day
« Last post by zwclose7 on August 28, 2019, 04:16:56 pm »
#7

Name: Arsine
Type: Blood agent
Source: Synthetic
Mechanism of action: Destruction of red blood cells (Hemolysis)
8
Chemistry / Re: Poison of the Day
« Last post by zwclose7 on August 26, 2019, 04:31:52 pm »
#6

Name: EA-3990
Type: Carbamate nerve agent
Source: Synthetic
Mechanism of action: Acetylcholinesterase inhibitor
LD50: 6.3 μg/kg (mice, intravenous)
9
Chemistry / Re: Poison of the Day
« Last post by zwclose7 on August 24, 2019, 03:03:33 pm »
#5

Name: KB-16
Other names: TL-186
Type: Nitrosocarbamate vesicant
Source: Synthetic
Mechanism of action: Cytotoxic alkylating agent
LD50: 1.1 mg/kg (mice, intravenous)
10
Windows programming / Re: Native API tutorial
« Last post by hMihaiDavid on January 08, 2019, 02:11:02 am »
I was looking for a nice way to call into ntdll without needing GetProcAddress and defining a function pointer type.
Also the link on ntqsi seems so complete. I'll be using this when I have time to work on cool stuff.

Thanks for sharing! :D :D

I'd like to add to the post (because this added info may not deserve its own one) that if you want to generate the import library (.lib) from a dll it can be done like this:

1. dumpbin /EXPORTS ntdll.dll > ntdll.def
the generated ntdll.def should be a file with the name of all the exports of ntdll.dll, one per line.
2. add the word EXPORTS as a first line to the previously generated file. You can delete the functions whose stub you don't want in your .lib
3. run the following commands from the VC/bin directory of Visual Studio (where link.exe is)
 vcvars32.bat
 lib /def:ntdll.def /out:ntdll.lib

This should spit ntdll.lib and ntdll.exp

The tool IMPLIB from a company called digitalmars can also be used.
Pages: [1] 2 3 ... 10

+-Recent Topics

Independent Call Girls in Chandigarh by dilpreetkaur
June 21, 2021, 01:02:52 pm

Hi zwclose7. How to create process by using NT apis? by zwclose7
June 01, 2021, 03:09:52 pm

Poison of the Day by zwclose7
March 16, 2020, 06:45:08 pm

IRC by AzeS
February 17, 2020, 08:18:01 am

Native API tutorial by hMihaiDavid
January 08, 2019, 02:11:02 am

The properties of GP nerve agent by xchg
October 19, 2018, 07:40:57 pm

A new route of synthesis for G-series agents by Basquyatti
October 15, 2018, 06:12:57 am

Synthesis of Methylisobutylcarbinylsarin (GH) by APC process by Basquyatti
October 14, 2018, 07:55:33 am

Synthesis conventional of Sarin by Basquyatti
October 02, 2018, 07:57:32 am

Reaction CX-7 (Experimental) by zwclose7
October 02, 2018, 12:46:47 am