daily pastebin goal
48%
SHARE
TWEET

Kelihos Loader IP Decrypter

a guest Dec 7th, 2015 486 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void main()
  2. {
  3.     FILE *f = fopen("IPs.txt", "ab");
  4.  
  5.     for(int ip_offset = 0; ip_offset < sizeof(encrypted_block); ip_offset += 4)
  6.     {
  7.         BYTE encrypted_ip[4];
  8.  
  9.         for(int i = 0; i < 4; i++)
  10.         {
  11.             encrypted_ip[i] = (BYTE)(i-91) ^ encrypted_block[ip_offset+i];
  12.         }
  13.  
  14.         char *ip_address = inet_ntoa(*(in_addr *)&encrypted_ip);
  15.         fwrite(ip_address, strlen(ip_address), 1, f);
  16.         fwrite("\r\n", 2, 1, f);
  17.     }
  18.  
  19.     fclose(f);
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top