Who Will You Kiss
Seçkin Üye
Merhaba Arkadaşlar Sizlere Xenforo İçin dll login yada ImGui Loader için sql kullanmadan basit login yaptım çok işinize yarayacak . kodlar bunlardır .
Discord: Umutt#2013
Ön İzleme:
Burası Main.cpp Yada Main İçeriğinizde gelmesi gereken ilk yer.
Umutabe.h ( Bu Sadece Xor Mantıgı Olan Str)
power.h ( Bu İse Post Download String Olaylarının Döndüğü Yer)
userkontrolhandle.php ( Bu İse User Pas Kontrol Etmenizi Sağlayan Forum Entegreli .php Dir.)
Dib Not: Lütfen Bunu Geliştirin Aksi Taktirde 2 Dakikada Cr4ck Yer bu sadece örnekdir Forumdada İlk Paylaşan Benimdir Heralde
Discord: Umutt#2013
Ön İzleme:
Burası Main.cpp Yada Main İçeriğinizde gelmesi gereken ilk yer.
C++:
if (ImGui::Begin("Test", 0, ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoTitleBar)) {
ImGuiWindow* window = ImGui::GetCurrentWindow();
static char username[52] = u8"",
password[52] = u8"";
if (panel1)
{
ImGui::SetCursorPos(ImVec2(70, 120));
ImGui:BeginGroup();
ImGui::Text((u8"Username"));
ImGui::InputText((u8"(!)"), username, IM_ARRAYSIZE(username));
ImGui::Text((u8"Password:"));
ImGui::InputText((u8"(_)"), password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_AutoSelectAll);
ImGui::SetCursorPos(ImVec2(65, 240));
if (ImGui::Button(("Login"), ImVec2(300, 40)))
{
// Sistem çok basit aslında tamamen 3 satır kodla :XD?
//
// bunuda oylesıne koydum xor varken paremtre hatası verıyor kaldırınca kalsın ugrasmak ıstemedım kısacası
string Cleratfostbeybi = "";
// bu ise sitedeki user pas kontrolu yapıyor // crypt etmek için : http://d4rc.net/d4/?cmd=xorgen
string checkuser = (Cleratfostbeybi + /*http://localhost/userkontrolhandle.php?username=*/UmutAb1one<0xCD, 49, 0x14654973>("\xA5\xBA\xBB\xA0\xEB\xFD\xFC\xB8\xBA\xB5\xB6\xB4\xB1\xB5\xA8\xA8\xF2\xAB\xAC\x85\x93\x89\x8C\x8A\x91\x94\x88\x84\x81\x8B\x85\x88\x81\x8B\xC1\x80\x99\x82\xCC\x81\x86\x93\x85\x96\x98\x97\x9E\xC1" + 0x14654973).s + username + "&password=" + password);
//Burada Check Userı Tanımladım Ve Siteye post atması için ekledim..
checkuser = DownloadStringRequstUrlnigastr(checkuser.c_str());
/// Siteden gelen veri 1 ise işlemi yapar ben burada kısa ve öz diğer taba geçtirdim
if (checkuser == UmutAb1one<0x47, 2, 0x1F53E306>("\x76" + 0x1F53E306).s)
{
// mesaj box dogru ise çıkan
MessageBox(NULL, "Giriş Başarılı Bilgilerin Doğru Good Loop", ("BAŞARI-İPSUM"), MB_OK | MB_ICONINFORMATION);
// tab kapadım true olan tabı false yaparak.
panel1 = false;
}
// bu kısım ıse bir değer alamadığında boşa dönerek hata mesajı çıkarır ve ben ufak bir Beep Sesi Koydum Anlamı
else if (checkuser != UmutAb1one<0x47, 2, 0x1F53E306>("\x76" + 0x1F53E306).s)
{
// mesaj box yanlış ise çıkan
MessageBox(NULL, "Hatalı Bilgi Girdiniz Lütfen Tekrar Deneyiniz", ("HATA-İPSUM"), MB_OK | MB_ICONERROR);
}
}
ImGui::EndGroup();
}
if (!panel1)
{
}
ImGui::End();
}
Umutabe.h ( Bu Sadece Xor Mantıgı Olan Str)
C++:
#pragma once
template <int XORSTART, int BUFLEN, int XREFKILLER>
class UmutAb1one
{
private:
UmutAb1one();
public:
char s[BUFLEN];
UmutAb1one(const char* xs);
~UmutAb1one()
{
for (int i = 0; i < BUFLEN; i++) s[i] = 0;
}
};
template <int XORSTART, int BUFLEN, int XREFKILLER>
UmutAb1one<XORSTART, BUFLEN, XREFKILLER>::UmutAb1one(const char* xs)
{
int xvalue = XORSTART;
int i = 0;
for (; i < (BUFLEN - 1); i++)
{
s[i] = xs[i - XREFKILLER] ^ xvalue;
xvalue += 1;
xvalue %= 256;
}
s[BUFLEN - 1] = (2 * 2 - 3) - 1;
}
power.h ( Bu İse Post Download String Olaylarının Döndüğü Yer)
C++:
#include <Windows.h>
#include <string>
#include <iostream>
#include <Wininet.h>
#include <string>
#pragma comment(lib, "wininet.lib")
using namespace std;
string replaceAllx(string subject, const string& search,
const string& replace) {
size_t pos = 0;
while ((pos = subject.find(search, pos)) != string::npos) {
subject.replace(pos, search.length(), replace);
pos += replace.length();
}
return subject;
}
string DownloadStringRequstUrlnigastr(string URL) {
HINTERNET interwebs = InternetOpenA("Mozilla/5.0", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, NULL);
HINTERNET urlFile;
string rtn;
if (interwebs) {
urlFile = InternetOpenUrlA(interwebs, URL.c_str(), NULL, NULL, NULL, NULL);
if (urlFile) {
char buffer[2000];
DWORD bytesRead;
do {
InternetReadFile(urlFile, buffer, 2000, &bytesRead);
rtn.append(buffer, bytesRead);
memset(buffer, 0, 2000);
} while (bytesRead);
InternetCloseHandle(interwebs);
InternetCloseHandle(urlFile);
string p = replaceAllx(rtn, "|n", "\r\n");
return p;
}
}
InternetCloseHandle(interwebs);
string p = replaceAllx(rtn, "|n", "\r\n");
return p;
}
std::string random_string(size_t length)
{
auto randchar = []() -> char
{
const char charset[] =
"!=0123456789=!"
"!=ABCDEFGHIJKLMNOPQRSTUVWXYZ=!"
"!=abcdefghijklmnopqrstuvwxyz=!";
const size_t max_index = (sizeof(charset) - 1);
return charset[rand() % max_index];
};
std::string UmutAb1one(length, 0);
std::generate_n(UmutAb1one.begin(), length, randchar);
return UmutAb1one;
}
std::string path()
{
char shitter[_MAX_PATH];
GetModuleFileNameA(NULL, shitter, _MAX_PATH);
return std::string(shitter);
}
userkontrolhandle.php ( Bu İse User Pas Kontrol Etmenizi Sağlayan Forum Entegreli .php Dir.)
PHP:
<?php
if ( isset( $_GET[ "username" ] ) )
{
require( 'src/XF.php' );
XF::start( $fileDir );
$app = \XF::setupApp( 'XF\App' );
$ip = $app->request->getIp( );
if ( isset( $_GET[ "password" ] ) )
{
$girisayarlarıfullreco = $app->service( 'XF:User\Login', $_GET[ "username" ], $ip );
$kullanıcıkontrol = $girisayarlarıfullreco->validate( $_GET[ "password" ], $error );
if( $kullanıcıkontrol )
{
echo "1";
}
else{
echo "0";
}
}
}
?>
Dib Not: Lütfen Bunu Geliştirin Aksi Taktirde 2 Dakikada Cr4ck Yer bu sadece örnekdir Forumdada İlk Paylaşan Benimdir Heralde
Son düzenleme: