Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- FILE *f = fopen("IPs.txt", "ab");
- for(int ip_offset = 0; ip_offset < sizeof(encrypted_block); ip_offset += 4)
- {
- BYTE encrypted_ip[4];
- for(int i = 0; i < 4; i++)
- {
- encrypted_ip[i] = (BYTE)(i-91) ^ encrypted_block[ip_offset+i];
- }
- char *ip_address = inet_ntoa(*(in_addr *)&encrypted_ip);
- fwrite(ip_address, strlen(ip_address), 1, f);
- fwrite("\r\n", 2, 1, f);
- }
- fclose(f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement