Network Configuration Backup - cURL Command

Network Configuration Backup - cURL Command

·
Network Configuration Backup - cURL Command

Network Configuration Backup - cURL Command

This is a backup of a cURL command used for network device configuration:

curl 'http://192.168.1.1:8080/html/bbsp/acl/set.cgi?x=InternetGatewayDevice.X_HW_Security.AclServices&&RequestFile=html/bbsp/acl/acl.asp' \
  -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Cache-Control: max-age=0' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Cookie: CookieHttp=sid=fc169d4009aa7e6827a9077e16791ccf20bb208ceb9c3d4f6879d486a8ddd419:Language:chinese:id=1' \
  -H 'Origin: http://192.168.1.1:8080' \
  -H 'Referer: http://192.168.1.1:8080/html/bbsp/acl/acl.asp' \
  -H 'Upgrade-Insecure-Requests: 1' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0 Safari/537.36' \
  --data-raw 'x.TELNETLanEnable=1&x.X_HW_Token=2123a3e152c3bfc183d81f8f103330e3dafdc8060308e6c21510aa77fde0b6a1' \
  --compressed \
  --insecure

Description

This cURL command appears to be for configuring ACL (Access Control List) settings on a network device, specifically enabling TELNET LAN access through a web interface.

Target: Router/Gateway at 192.168.1.1:8080

Action: ACL configuration via web interface

Parameters: Enables TELNET LAN access with authentication token