Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
initramfs-tools /
dhcpcd-hooks /
Delete
Unzip
Name
Size
Permission
Date
Action
10-mtu
535
B
-rwxr-xr-x
2024-04-22 10:21
70-net-conf
1.67
KB
-rwxr-xr-x
2024-04-22 10:21
Save
Rename
#!/bin/sh set -e # dhcpcd client hook to write /run/net*.conf files compatible to ipconfig from klibc-utils # Ensure that the search domain ends with dots domain_search_with_trailing_dots() { local domain_search="" for domain in $1; do domain_search="${domain_search}${domain_search:+ }${domain%.}." done echo "$domain_search" } write_dhcp_netinfo() { local domain_search netinfo_path="$1" domain_search=$(domain_search_with_trailing_dots "${new_domain_search-}") cat >"$netinfo_path" << EOF DEVICE='${interface-}' PROTO='${protocol-}' IPV4ADDR='${new_ip_address-}' IPV4BROADCAST='${new_broadcast_address-}' IPV4NETMASK='${new_subnet_mask-}' IPV4GATEWAY='${new_routers-}' IPV4DNS0='${new_domain_name_servers-}' HOSTNAME='${new_host_name-}' DNSDOMAIN='${new_domain_name-}' ROOTSERVER='${new_routers-}' filename='${new_filename-}' DHCPLEASETIME='${new_dhcp_lease_time-}' DOMAINSEARCH='${domain_search}' EOF } write_dhcp6_netinfo() { local domain_search netinfo_path="$1" domain_search=$(domain_search_with_trailing_dots "${new_dhcp6_domain_search-}") cat >"$netinfo_path" << EOF DEVICE6='${interface-}' IPV6PROTO='${protocol-}' IPV6ADDR='${new_dhcp6_ia_na1_ia_addr1-}' IPV6NETMASK='128' IPV6DNS0='${new_dhcp6_name_servers-}' IPV6DOMAINSEARCH='${domain_search}' EOF } if ${if_configured?}; then if ${if_up?}; then if [ "${protocol?}" = dhcp ]; then write_dhcp_netinfo "/run/net-${interface?}.conf" elif [ "${protocol}" = dhcp6 ]; then write_dhcp6_netinfo "/run/net6-${interface?}.conf" fi elif ${if_down?}; then if [ "${protocol?}" = dhcp ]; then rm -f "/run/net-${interface?}.conf" elif [ "${protocol}" = dhcp6 ]; then rm -f "/run/net6-${interface?}.conf" fi fi fi