Interface names
This commit is contained in:
parent
5e99c8d776
commit
04f90cc671
@ -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;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
$site = "crOS";
|
||||
$flag = "ccIT{my_super_flag_1}";
|
||||
$interface = "eth0";
|
||||
$interface = "wlan0";
|
||||
$blacklist = array(';', '#', '(', ')', '|', '&', ' ', "\t", '<', '>');
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user