Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
FileZillaFTP /
source /
[ HOME SHELL ]
Name
Size
Permission
Action
hash_algorithms
[ DIR ]
drwxrwxrwx
includes
[ DIR ]
drwxrwxrwx
install
[ DIR ]
drwxrwxrwx
interface
[ DIR ]
drwxrwxrwx
misc
[ DIR ]
drwxrwxrwx
res
[ DIR ]
drwxrwxrwx
tinyxml
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-rw-rw-
Accounts.cpp
12.2
KB
-rw-rw-rw-
Accounts.h
2.12
KB
-rw-rw-rw-
AdminInterface.cpp
3.1
KB
-rw-rw-rw-
AdminInterface.h
1.77
KB
-rw-rw-rw-
AdminListenSocket.cpp
1.64
KB
-rw-rw-rw-
AdminListenSocket.h
1.58
KB
-rw-rw-rw-
AdminSocket.cpp
9.85
KB
-rw-rw-rw-
AdminSocket.h
2.1
KB
-rw-rw-rw-
AsyncGssSocketLayer.cpp
30.35
KB
-rw-rw-rw-
AsyncGssSocketLayer.h
4.76
KB
-rw-rw-rw-
AsyncSocketEx.cpp
51.94
KB
-rw-rw-rw-
AsyncSocketEx.h
11.75
KB
-rw-rw-rw-
AsyncSocketExLayer.cpp
26.22
KB
-rw-rw-rw-
AsyncSocketExLayer.h
7
KB
-rw-rw-rw-
AsyncSslSocketLayer.cpp
60.12
KB
-rw-rw-rw-
AsyncSslSocketLayer.h
8.94
KB
-rw-rw-rw-
ControlSocket.cpp
96.33
KB
-rw-rw-rw-
ControlSocket.h
4.74
KB
-rw-rw-rw-
ExternalIpCheck.cpp
7.82
KB
-rw-rw-rw-
ExternalIpCheck.h
1.85
KB
-rw-rw-rw-
FileLogger.cpp
6.68
KB
-rw-rw-rw-
FileLogger.h
1.35
KB
-rw-rw-rw-
FileZilla server.rc
2.65
KB
-rw-rw-rw-
FileZilla server.sln
2.75
KB
-rw-rw-rw-
FileZilla server.vcproj
39.95
KB
-rw-rw-rw-
ListenSocket.cpp
4.23
KB
-rw-rw-rw-
ListenSocket.h
2.29
KB
-rw-rw-rw-
MFC64bitFix.cpp
2.56
KB
-rw-rw-rw-
MFC64bitFix.h
1.45
KB
-rw-rw-rw-
OptionLimits.h
1022
B
-rw-rw-rw-
OptionTypes.h
6.46
KB
-rw-rw-rw-
Options.cpp
31.81
KB
-rw-rw-rw-
Options.h
2.59
KB
-rw-rw-rw-
Permissions.cpp
61.53
KB
-rw-rw-rw-
Permissions.h
6.82
KB
-rw-rw-rw-
Server.cpp
42.34
KB
-rw-rw-rw-
Server.h
2.05
KB
-rw-rw-rw-
ServerThread.cpp
26.13
KB
-rw-rw-rw-
ServerThread.h
4.21
KB
-rw-rw-rw-
Service.cpp
15.23
KB
-rw-rw-rw-
SpeedLimit.cpp
6.87
KB
-rw-rw-rw-
SpeedLimit.h
1.96
KB
-rw-rw-rw-
StdAfx.cpp
4.41
KB
-rw-rw-rw-
StdAfx.h
4.93
KB
-rw-rw-rw-
Thread.cpp
2.85
KB
-rw-rw-rw-
Thread.h
1.87
KB
-rw-rw-rw-
TransferSocket.cpp
28.72
KB
-rw-rw-rw-
TransferSocket.h
3.62
KB
-rw-rw-rw-
autobanmanager.cpp
3.44
KB
-rw-rw-rw-
autobanmanager.h
1.46
KB
-rw-rw-rw-
config.h
1.52
KB
-rw-rw-rw-
conversion.cpp
1.95
KB
-rw-rw-rw-
conversion.h
435
B
-rw-rw-rw-
defs.h
1.03
KB
-rw-rw-rw-
hash_thread.cpp
4.79
KB
-rw-rw-rw-
hash_thread.h
930
B
-rw-rw-rw-
iputils.cpp
10.87
KB
-rw-rw-rw-
iputils.h
1.32
KB
-rw-rw-rw-
platform.h
1.43
KB
-rw-rw-rw-
resource.h
515
B
-rw-rw-rw-
version.cpp
4.32
KB
-rw-rw-rw-
version.h
881
B
-rw-rw-rw-
xml_utils.cpp
487
B
-rw-rw-rw-
xml_utils.h
236
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : hash_thread.cpp
#include "StdAfx.h" #include "hash_thread.h" #include "misc\md5.h" #include "ServerThread.h" #define SHA512_STANDALONE typedef unsigned int uint32; #include "hash_algorithms/int64.h" #include "hash_algorithms/sshsh512.c" #include "hash_algorithms/sshsha.c" CHashThread::CHashThread() { m_filename = 0; m_quit = false; m_id = 0; m_active_id = 0; m_result = OK; m_hash = 0; m_server_thread = 0; m_algorithm = SHA512; m_hThread = CreateThread(0, 0, &CHashThread::ThreadFunc, this, 0, 0); } CHashThread::~CHashThread() { m_sync.Lock(); m_quit = true; m_server_thread = 0; delete [] m_filename; delete [] m_hash; m_sync.Unlock(); WaitForSingleObject(m_hThread, INFINITE); CloseHandle(m_hThread); } DWORD CHashThread::ThreadFunc(LPVOID pThis) { ((CHashThread*)pThis)->Loop(); return 0; } namespace { char* toHex(unsigned char* buffer, unsigned int len) { char* hex = new char[len * 2 + 1]; hex[len * 2] = 0; for (unsigned int i = 0; i < len; i++) { unsigned char l = buffer[i] >> 4; unsigned char r = buffer[i] & 0x0F; if (l > 9) hex[i * 2] = 'a' + l - 10; else hex[i * 2] = '0' + l; if (r > 9) hex[i * 2 + 1] = 'a' + r - 10; else hex[i * 2 + 1] = '0' + r; } return hex; } } void CHashThread::DoHash() { if (!m_filename) return; LPCTSTR file = m_filename; m_filename = 0; m_sync.Unlock(); int shareMode = FILE_SHARE_READ; HANDLE hFile = CreateFile(file, GENERIC_READ, shareMode, 0, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0); delete [] file; if (hFile == INVALID_HANDLE_VALUE) { m_sync.Lock(); m_result = FAILURE_OPEN; if (m_server_thread) m_server_thread->PostThreadMessage(WM_FILEZILLA_THREADMSG, FTM_HASHRESULT, m_active_id); return; } const enum _algorithm alg = m_algorithm; void* data; switch (alg) { case MD5: data = new ::MD5; break; case SHA512: data = new SHA512_State; SHA512_Init((SHA512_State*)data); break; case SHA1: data = new SHA_State; SHA_Init((SHA_State*)data); break; } unsigned char buffer[262144]; DWORD read = 0; BOOL res = 0; while ((res = ReadFile(hFile, buffer, 262144, &read, 0) != 0) && read > 0) { switch (alg) { case MD5: ((::MD5*)data)->update(buffer, read); break; case SHA512: SHA512_Bytes((SHA512_State*)data, buffer, read); break; case SHA1: SHA_Bytes((SHA_State*)data, buffer, read); break; } m_sync.Lock(); if (!m_server_thread) { CloseHandle(hFile); return; } m_sync.Unlock(); } CloseHandle(hFile); if (!res) { m_sync.Lock(); m_result = FAILURE_READ; if (m_server_thread) m_server_thread->PostThreadMessage(WM_FILEZILLA_THREADMSG, FTM_HASHRESULT, m_active_id); return; } m_sync.Lock(); switch (alg) { case MD5: ((::MD5*)data)->finalize(); m_hash = ((::MD5*)data)->hex_digest(); break; case SHA512: { unsigned char digest[64]; SHA512_Final((SHA512_State*)data, digest); m_hash = toHex(digest, 64); } break; case SHA1: { unsigned char digest[20]; SHA_Final((SHA_State*)data, digest); m_hash = toHex(digest, 20); } break; } m_result = m_hash ? OK : FAILURE_READ; if (m_server_thread) m_server_thread->PostThreadMessage(WM_FILEZILLA_THREADMSG, FTM_HASHRESULT, m_active_id); } void CHashThread::Loop() { m_sync.Lock(); while (!m_quit) { DoHash(); m_sync.Unlock(); Sleep(100); m_sync.Lock(); } } enum CHashThread::_result CHashThread::Hash(LPCTSTR file, enum _algorithm algorithm, int& id, CServerThread* server_thread) { m_sync.Lock(); if (m_active_id) { m_sync.Unlock(); return BUSY; } ++m_id; if (m_id > 1000000) m_id = 1; id = m_id; m_active_id = id; delete [] m_hash; m_hash = 0; delete [] m_filename; m_filename = new TCHAR[_tcslen(file) + 1]; _tcscpy(m_filename, file); m_server_thread = server_thread; m_algorithm = algorithm; m_result = PENDING; m_sync.Unlock(); return PENDING; } enum CHashThread::_result CHashThread::GetResult(int id, CHashThread::_algorithm& alg, CStdString& hash, CStdString& file) { if (id <= 0) return FAILURE_MASK; m_sync.Lock(); if (id != m_active_id) { m_sync.Unlock(); return BUSY; } if (m_result == PENDING) { m_sync.Unlock(); return PENDING; } alg = m_algorithm; file = m_filename; delete [] m_filename; m_filename = 0; m_active_id = 0; if (m_result == OK) { hash = m_hash; delete [] m_hash; m_hash = 0; m_sync.Unlock(); return OK; } m_sync.Unlock(); return m_result; } void CHashThread::Stop(CServerThread* server_thread) { m_sync.Lock(); if (m_server_thread == server_thread) m_server_thread = 0; m_sync.Unlock(); }
Close