letiendat287
[Can you make a option :$security_code on client side and column security_code on SQL server side.]
To improve ban system connection security, as they are, at this time:
=======================================================================
1- Personalize entire anti-hack start splash, server name, dll name, etc. Nobody need knows you are using codex antihack. This are an open project, you can change it as you want.
=======================================================================
2- Personalize word:
uploadedfile in both files, if word diferent in
both files SQL ban update dont work!
Server_Ban.cpp
static TCHAR frmdata[] = "-----------------------------og94kfkldjs7ekk\r\nContent-Disposition: form-data; name="
uploadedfile"; filename="
Log.txt"\r\nContent-Type: text/plain\r\n\r\nCodex Anti-Hack\r\n-----------------------------og94kfkldjs7ekk--\r\n";
static TCHAR hdrs[] = "Content-Type: multipart/form-data; boundary=---------------------------og94kfkldjs7ekk";
Renew.php
<?php
$uploaddir = 'Log/';
if (is_uploaded_file($_FILES['
uploadedfile']['tmp_name'])) {
$uploadfile = $uploaddir . basename($_FILES['
uploadedfile']['name']);
echo "File ". $_FILES['
uploadedfile']['name'] ." uploaded successfully. ";
if (move_uploaded_file($_FILES['
uploadedfile']['tmp_name'], $uploadfile)) {
echo "File is valid, and was successfully moved. ";
=======================================================================
3- Personalize your connection address:
www...Codex/ServerSideBan/Renew.php to
www.../Something/hide/thing.php
=======================================================================
4- Improve your http server security to avoid directory visualization, like this:
Index of /Codex
NameLast modifiedSizeDescription
http://10.0.1.50/icons/folder.gif Parent Directory 22-Nov-2014 07:34 -
http://10.0.1.50/icons/folder.gif Hardware Ban/ 22-Nov-2014 07:33 -
http://10.0.1.50/icons/folder.gif ServerSideBan/ 03-Dec-2014 17:21 -
Apache/1.3.34 Server at localhost Port 80
=======================================================================
5- Rename:
Log.txt, If you find some file with another name in log folder, it means someone are using another files.
- - - Updated - - -
[Will this work in different game?]
It works in any windows aplication you can hook.
- - - Updated - - -
[Bro... If you can put an ip from client in log.txt webpage... Why not put in File that content the hardware dates?]
PHP page get user, hardware ban uses a FTP server to upload files.
- - - Updated - - -
For you
Lucila
int main(int argc, char* argv[])
{
HINTERNET hInternet, hFile;
DWORD rSize;
char buffer[47];
hInternet = InternetOpen(NULL, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
hFile = InternetOpenUrl(hInternet, "http://icanhazip.com/", NULL, 0, INTERNET_FLAG_RELOAD, 0);
InternetReadFile(hFile, &buffer, sizeof(buffer), &rSize);
buffer[rSize] = '\0';
InternetCloseHandle(hFile);
InternetCloseHandle(hInternet);
std::cout << "Your IP Address: " << buffer << "\n";
system("pause");
return 0;
}
void TESTES2(){
CreateThread(NULL,NULL,LPTHREAD_START_ROUTINE(main),NULL,0,0);
}