Interface names

This commit is contained in:
Giulio 2020-05-22 12:22:17 +02:00
parent 5e99c8d776
commit 04f90cc671
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ char *get_mac()
{
FILE * fp;
char *mac = malloc(18* sizeof(char));
fp = fopen("/sys/class/net/wifi0/address", "r");
fp = fopen("/sys/class/net/wlan0/address", "r");
fgets(mac, 17, fp);
fclose(fp);
return mac;

View File

@ -1,7 +1,7 @@
<?php
$site = "crOS";
$flag = "ccIT{my_super_flag_1}";
$interface = "eth0";
$interface = "wlan0";
$blacklist = array(';', '#', '(', ')', '|', '&', ' ', "\t", '<', '>');
?>
?>