Skip to content
Marco Cusano edited this page May 1, 2018 · 5 revisions

OVERHACK ANTI-CHEAT API WIKI

Welcome to the official GitHub repository for the Overhack Anti-Cheat API. Overhack Project is a free competitive platform, with a dedicated Anti-Cheat, for the first time as a server-side application. If you want to know more about Overhack Project please click here.

Developed by Marco Cusano v2.0
https://www.overhack.cloud

Introduction

Create your own Anti-Cheat Client, thanks to the Overhack Anti-Cheat API. Working using POST methods only, based on v2.0 Overhack API as following: https://www.overhack.cloud/api/2.0/.

Functions

Please consider to use your POST method calling base (as specified above) + file.php as following:

Login

Use /account.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform
username string Overhack account Username or Email
password string Overhack account Password

Example usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/account.php">
   <input name="username" type="text" placeholder="Username/Email" required>
   <input name="password" type="password" placeholder="Password" required>
   <input name="task" type="text" value="login" class="hide hidden" readonly required>
   <button type="submit">Perform Login</button> 
</form>

Return code

CODE DESCRIPTION
100 Logged in successfully
101 Already logged in
403 Wrong Username/Email or Password

Logout

Use /account.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform

Example usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/account.php">
   <input name="task" type="text" value="logout" class="hide hidden" readonly required>
   <button type="submit">Perform Logout</button> 
</form>

Return code

CODE DESCRIPTION
105 Logged out successfully
106 Already logged out

Create Session

Use /session.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform
callback string Your Overhack API Key
username string Overhack account Username or Email
password string Overhack account Password
game_id int Create a session for a Game already on Overhack
hwid string Used to identify a Player using the same PC configuration
os string Used to identify a Player Operating System currently in use

Example of usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/session.php">
   <input name="callback" type="text" placeholder="API Key" required>
   <input name="username" type="text" placeholder="Username/Email" required>
   <input name="password" type="password" placeholder="Password" required>
   <input name="game_id" type="number" placeholder="Game ID" required>
   <input name="hwid" type="text" placeholder="Hardware ID" required>
   <input name="os" type="text" placeholder="Operating System" required>
   <input name="task" type="text" value="create" class="hide hidden" readonly required>
   <button type="submit">Create Session</button> 
</form>

Return code

CODE DESCRIPTION
200 Session started
203 Spam protection, 5 minutes needed between 2 Anti-Cheat Sessions
204 Account banned or wrong Username/Email or Password
205 Internal Error
210 Invalid Game ID or Game currently suspended
403 Invalid Username/Email or Password
404 Missing parameters
1403 Invalid API key

Add Screenshots to a Session

Use /session.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform
callback string Your Overhack API Key
username string Overhack account Username or Email
password string Overhack account Password
filename string Name of your file (Example: screen_01.jpg) - JPG only
hash string Unique MD5 sign of your screenshot file

Example of usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/session.php">
   <input name="callback" type="text" placeholder="API Key" required>
   <input name="username" type="text" placeholder="Username/Email" required>
   <input name="password" type="password" placeholder="Password" required>
   <input name="filename" type="text" placeholder="Filename.jpg" required>
   <input name="hash" type="text" placeholder="MD5 Hash" required>
   <input name="task" type="text" value="update:screen" class="hide hidden" readonly required>
   <button type="submit">Update Session</button> 
</form>

Return code

CODE DESCRIPTION
201 Session updated
204 Session not found
205 Internal Error
403 Invalid Username/Email or Password
404 Missing parameters
1403 Invalid API key

Add System/In-game Processes to a Session

Use /session.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform
callback string Your Overhack API Key
username string Overhack account Username or Email
password string Overhack account Password
type string system (all running processes) or ingame (dlls and modules attached used from the running game)
pid JSON JSON list of all procresses id (if type="system") or memory id (if type="ingame")
filename JSON JSON list of all fullpath processes (Example: "C:\folder\subfolder\process.exe")
hash JSON JSON list of all MD5 Hash (Example eceb848b83827768be190d1f2a137111 of process.exe)

Example of usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/session.php">
   <input name="callback" type="text" placeholder="API Key" required>
   <input name="username" type="text" placeholder="Username/Email" required>
   <input name="password" type="password" placeholder="Password" required>
   <input name="type" type="text" placeholder="system/ingame" required>
   <input name="pid" type="text" placeholder="JSON List of pid/mid" required>
   <input name="filename" type="text" placeholder="JSON List of fullpath+filename" required>
   <input name="hash" type="text" placeholder="JSON List of MD5 Hash" required>
   <input name="task" type="text" value="update:process" class="hide hidden" readonly required>
   <button type="submit">Update Session</button> 
</form>

Return code

CODE DESCRIPTION
201 Session updated
204 Session not found
205 Internal Error
403 Invalid Username/Email or Password
404 Missing parameters
1403 Invalid API key

Add Warning

Use /session.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform
callback string Your Overhack API Key
username string Overhack account Username or Email
password string Overhack account Password
type string file - macro - process - screen
extrainfo string Description of your detection

Example of usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/session.php">
   <input name="callback" type="text" placeholder="API Key" required>
   <input name="username" type="text" placeholder="Username/Email" required>
   <input name="password" type="password" placeholder="Password" required>
   <input name="type" type="text" placeholder="system/ingame" required>
   <input name="extrainfo" type="text" placeholder="Detection description" required>
   <input name="task" type="text" value="update:warning" class="hide hidden" readonly required>
   <button type="submit">Update Session</button> 
</form>

Return code

CODE DESCRIPTION
201 Session updated
204 Session not found
205 Internal Error
403 Invalid Username/Email or Password
404 Missing parameters
1403 Invalid API key

Close Session

Use /session.php

PARAM TYPE DESCRIPTION REQUIRED
task string The task value is the action you are going to perform
callback string Your Overhack API Key
username string Overhack account Username or Email
password string Overhack account Password

Example of usage (HTML)

<form method="POST" action="https://www.overhack.cloud/api/2.0/session.php">
   <input name="callback" type="text" placeholder="API Key" required>
   <input name="username" type="text" placeholder="Username/Email" required>
   <input name="password" type="password" placeholder="Password" required>
   <input name="task" type="text" value="close" class="hide hidden" readonly required>
   <button type="submit">Update Session</button> 
</form>

Return code

CODE DESCRIPTION
201 Session updated
204 Session not found
205 Internal Error
403 Invalid Username/Email or Password
404 Missing parameters
1403 Invalid API key

Game IDs

ID NAME
1 Warface
2 Zula Europe
3 S.K.I.L.L. Special Force 2
4 Counter-Strike: Global Offensive
5 League of Legends
6 Dota 2
7 Dead by Daylight
8 Fortnite
9 Black Squad

F.A.Q.