A code to identify the criminals of the dark web
"specific to the agents of death games on the dark web"
"specific to the agents of death games on the dark web"
Code:
//code by E1.Coders RED TEAM
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <time.h>
#include <geoip2.h>
int main(int argc, char *argv[]) {
if (argc != 2) {
printf("Usage: %s <dark_web_address>\n", argv[0]);
return 1;
}
char *dark_web_address = argv[1];
// Get the real IP address
struct sockaddr_in addr;
int sock = socket(AF_INET, SOCK_DGRAM, 0);
addr.sin_family = AF_INET;
addr.sin_port = htons(80);
inet_pton(AF_INET, dark_web_address, &addr.sin_addr);
connect(sock, (struct sockaddr *)&addr, sizeof(addr));
socklen_t len = sizeof(addr);
getsockname(sock, (struct sockaddr *)&addr, &len);
char real_ip[INET_ADDRSTRLEN];
inet_ntop(AF_INET, &addr.sin_addr, real_ip, INET_ADDRSTRLEN);
close(sock);
// Get the main dark web address
char *main_dark_web_address = dark_web_address;
// Get the main location of the person using the dark web
geoip2_lookup_result_s result;
geoip2_lookup(dark_web_address, &result);
char *location = result.city;
// Get the real-time and geographical position
time_t current_time = time(NULL);
struct tm *local_time = localtime(¤t_time);
double latitude = result.latitude;
double longitude = result.longitude;
// Get the number of maples connected to the dark web address
int num_maples = 0;
// Code to get the number of maples connected
printf("Real IP Address: %s\n", real_ip);
printf("Main Dark Web Address: %s\n", main_dark_web_address);
printf("Main Location: %s\n", location);
printf("Real-Time and Geographical Position: %02d:%02d:%02d, Latitude: %.2f, Longitude: %.2f\n",
local_time->tm_hour, local_time->tm_min, local_time->tm_sec, latitude, longitude);
printf("Number of Maples Connected: %d\n", num_maples);
return 0;
}
Last edited: