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