Exploit databaseDownload repository ZIP
GH-de2318f62d43bced52bf249576e6dec9
hoangrealer/cve-2023-27216
Sources for CVE-2023-27216
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files86
hoangrealer/cve-2023-27216Revision 372f074e87a9
- ↑..Parent directory
- .ipv6rd_start.sh.swp
- 5g_channel_period.sh
- AppFilterStop.sh
- RebootScript
- UrlFilterStop.sh
- acl_stop.sh
- alpha_cfm.sh
- alpha_diag.sh
- alpha_dlna_start.sh
- alpha_dsl_support.sh
- alpha_firewall.sh
- alpha_fun_lib.sh
- alpha_ipfilter.sh
- alpha_klogd.sh
- alpha_lanhost.sh
- alpha_macfilter.sh
- alpha_syslogd.sh
- alpha_upnp_scan.sh
- alpha_urlfilter.sh
- alpha_usb_umount.sh
- alpha_usbcheck.sh
- alpha_usbinfo.sh
- alpha_wifi_schedule.sh
- alpha_wifi_schedule_5g.sh
- alpha_wireless_5G_bin_to_flash.sh
- alpha_wireless_channelscan.sh
- alpha_wireless_channelscan_5G.sh
- alpha_wireless_eapinfo.sh
- alpha_wireless_eapinfo_5G.sh
- alpha_wireless_stainfo.sh
- alpha_wireless_stainfo_5G.sh
- alpha_wireless_stainfo_5G_for_statistics.sh
- alpha_wireless_stainfo_to_LanHost.sh
- before_tr069_download.sh
- before_web_download.sh
- before_web_download_remove_wifi.sh
- before_web_upgrade.sh
- br_conf.sh
- channel_period.sh
- ddns.sh
- ddns_run.sh
- dhcp6c_script
- dlnaOff.sh
- dlnaOn.sh
- dmz.sh
- dongle_dial_off.sh
- dongle_dial_on.sh
- dslite_start.sh
- ether_mac.sh
- filter_forward_start.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
_DSL-3782_A1_EU_1.01_07282016.bin.extracted/squashfs-root/usr/script/dmz.sh
Shell · 2,471 bytes#!/bin/sh
PROFILE_CFG=/userfs/profile.cfg
if [ -f $PROFILE_CFG ] ; then
. $PROFILE_CFG
fi
setIptableCmd()
{
if [ -z "$2" ]; then
return
fi
if [ "wan" = "$2" ]; then
iptables -t nat -I DMZ_PRE$PVC -p all -i $WAN_IF $TIME_ARG -j DNAT --to $DMZ_IP
fi
if [ "srv" = "$2" ]; then
iptables -t nat -I DMZ_PRE$PVC -p all -d $SERVER_IP $TIME_ARG -j DNAT --to $DMZ_IP
fi
}
. /usr/script/alpha_fun_lib.sh
doIptableWithSch()
{
if [ -z "$1" ]; then
return
fi
if [ -n "$SCH" ]; then
setIptableWithSch $SCH $1;
else
TIME_ARG=""
setIptableCmd nosch $1;
fi
}
if [ "$TCSUPPORT_MULTISERVICE_ON_WAN" != "" ] && [ "$TCSUPPORT_WAN_PTM" != "" -o "$TCSUPPORT_WAN_ETHER" != "" ]; then
if [ $# != 2 ] ; then
echo "usage: $0 [PVC#] [Service ID#]"
exit 0
fi
else
if [ $# != 1 ] ; then
echo "usage: $0 [PVC#]"
exit 0
fi
fi
if [ "$TCSUPPORT_MULTISERVICE_ON_WAN" != "" ] && [ "$TCSUPPORT_WAN_PTM" != "" -o "$TCSUPPORT_WAN_ETHER" != "" ]; then
if [ "$1" = "8" ] || [ "$1" = "9" ] || [ "$1" = "10" ]; then
PVC="$1"_"$2"
else
PVC=$1
fi
else
PVC=$1
fi
iptables -t nat -F DMZ_PRE$PVC
# get ipmode (Single or Multiple)
IPMODE_CONF=/etc/nat_pvc$PVC/ipmode
if [ -f $IPMODE_CONF ] ; then
chmod +x $IPMODE_CONF
. $IPMODE_CONF
fi
SERVER_IP="0.0.0.0"
if [ "$IPMODE" = "Multiple" ] ; then
SERVERIP_CONF=/etc/nat_pvc$PVC/server_ip
if [ -f $SERVERIP_CONF ] ; then
chmod +x $SERVERIP_CONF
. $SERVERIP_CONF
fi
fi
# default wan_if
WAN_IF=nas$PVC
CONFFILE=/etc/isp$PVC.conf
if [ -f $CONFFILE ] ; then
chmod +x $CONFFILE
. $CONFFILE
fi
# PPPoE/PPPoA
if [ "$ISP" = "2" ] ; then
if [ "$TCSUPPORT_MULTISERVICE_ON_WAN" != "" ] && [ "$TCSUPPORT_WAN_PTM" != "" -o "$TCSUPPORT_WAN_ETHER" != "" ]; then
if [ "$1" = "8" ] || [ "$1" = "9" ] || [ "$1" = "10" ]; then
WAN_IF=ppp"$1""$2"
else
WAN_IF=ppp$1
fi
else
WAN_IF=ppp$PVC
fi
fi
DMZ_CONF=/etc/nat_pvc$PVC/dmz
if [ -f $DMZ_CONF ] ; then
chmod +x $DMZ_CONF
. $DMZ_CONF
else
exit 0
fi
#TIME_ARG=""
#if [ "$Time" = "1" ] ; then
# TIME_ARG=" -m time --timestart $Begin_tm --timestop $End_tm --days $Day "
#fi
if [ "$Active" = "Yes" ] ; then
if [ "$SERVER_IP" = "0.0.0.0" ] ; then
doIptableWithSch wan;
# iptables -t nat -I DMZ_PRE$PVC -p all -i $WAN_IF $TIME_ARG -j DNAT --to $DMZ_IP
else
doIptableWithSch srv;
# iptables -t nat -I DMZ_PRE$PVC -p all -d $SERVER_IP $TIME_ARG -j DNAT --to $DMZ_IP
fi
fi