⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
usermin
/
chfn
/
Edit File: editor.pl
#!/usr/bin/perl # editor.pl # Called by chfn to edit freebsd user details sleep(1); open(FILE, $ARGV[0]); @lines = <FILE>; close(FILE); open(FILE, ">$ARGV[0]"); foreach $l (@lines) { if ($l =~ /^(Shell):/i) { $l = "$1: $ENV{'EDITOR_SHELL'}\n"; } elsif ($l =~ /^(Full Name):/i) { $l = "$1: $ENV{'EDITOR_REAL'}\n"; } elsif ($l =~ /^(Office Location):/i) { $l = "$1: $ENV{'EDITOR_OFFICE'}\n"; } elsif ($l =~ /^(Office Phone):/i) { $l = "$1: $ENV{'EDITOR_OPHONE'}\n"; } elsif ($l =~ /^(Home Phone):/i) { $l = "$1: $ENV{'EDITOR_HPHONE'}\n"; } print FILE $l; } close(FILE);
Simpan