⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
net
/
View File Name :
delete_aifcs.cgi
#!/usr/bin/perl # De-activate a bunch of active interfaces require './net-lib.pl'; &ReadParse(); &error_setup($text{'daifcs_err'}); @d = split(/\0/, $in{'d'}); @d || &error($text{'daifcs_enone'}); # Do the deletion, one by one @acts = &active_interfaces(); foreach $d (@d) { ($a) = grep { $_->{'fullname'} eq $d } @acts; $a || &error($text{'daifcs_egone'}); &can_iface($a) || &error($text{'ifcs_ecannot_this'}); &deactivate_interface($a); } &webmin_log("delete", "aifcs", scalar(@d)); &redirect("list_ifcs.cgi?mode=active");