Register for your free account! | Forgot your password?

You last visited: Today at 17:35

  • Please register to post and access all features, it's quick, easy and FREE!


Check for a blacknull?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 165
Received Thanks: 17
Check for a blacknull?

Okay how can I make a check if my own program is passed an argument when it starts.



iStefan is offline  
Old 05/25/2011, 21:17   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 2,195
Received Thanks: 849
What you trying to achieve?


_DreadNought_ is offline  
Old 05/25/2011, 21:50   #3
 
elite*gold: 0
Join Date: Mar 2011
Posts: 165
Received Thanks: 17
Quote:
Originally Posted by _DreadNought_ View Post
What you trying to achieve?
A protection.
iStefan is offline  
Old 05/25/2011, 23:59   #4
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,502
In what sense....

Do you want to check if the program is passed an arguement when it starts?

Or do you want to check if it bypasses auto-patching...?


Korvacs is offline  
Old 05/26/2011, 07:26   #5
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
i'm probably being extra here since the pros are already replying.
But, just so as you know "blacknull" is just an argument passed into Conquer.exe, and is accepted by Conquer.exe as a start up cmd.

So, when you mention blacknulling a program, one would first think of Conquer.exe. That is kind of contradictory to your first post since you are checking if your own program is blacknulled. Doesnt make sense.
shitboi is offline  
Old 05/26/2011, 15:57   #6
 
elite*gold: 0
Join Date: Mar 2011
Posts: 165
Received Thanks: 17
Quote:
Originally Posted by Korvacs View Post
In what sense....

Do you want to check if the program is passed an arguement when it starts?

Or do you want to check if it bypasses auto-patching...?
The First one. I want to check if the program is passed an argument when it starts.
iStefan is offline  
Old 05/26/2011, 17:14   #7
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by iStefan View Post
Okay how can I make a check if my own program is passed an argument when it starts.
if you question is as qouted above.. then you can simply look at your definition for main(), depending on how you handled your arguments.

If you want to find out if an argument is pass into some other programs, I can't offer any help. debugging is the key, lol
shitboi is offline  
Old 05/26/2011, 21:22   #8
 
elite*gold: 0
Join Date: Jun 2006
Posts: 85
Received Thanks: 8
Code:
int main( int argc, char** argv )
{
  if ( argc > 1 )
    std::cout << "An argument was passed"\n";
  return 0;
}


fm_sparkart is offline  
Reply



« c# freeze like ce? | can c# do low level stuff? »

Similar Threads
[help] blacknull???
05/20/2010 - EO PServer Hosting - 21 Replies
erm,,,just asking,, how to shortcut to soul.exe with the parameters blacknull, im not really sure n understand:)
[WTT]No CRC check and gg bypass for dekaron eu and no crc check for 2moons
10/18/2008 - Dekaron Trading - 1 Replies
Look at the title:rolleyes: I wanna trade it for 50mill on dekaron eu. just add me to msn for proofs [email protected]
blacknull question
05/15/2008 - CO2 Main - Discussions / Questions - 5 Replies
This is a question to the programmers. I have browsed through the forum and found out that blacknull is the solution to bypass autopatch. However i do have some doubts. 1) Conquer.exe blacknull -the blacknull argument is passed into...



All times are GMT +2. The time now is 17:35.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.