identifying model number: Failed
Opened this issue · 2 comments
csenger18 commented
[] target is XX.XX.XX.XX:80
[] connectback on XX.XX.XX.XX:31337
[+] assembling shellcode: done. length is 104 bytes
[-] identifying model number: Failed
Traceback (most recent call last):
File "./pwn_hisilicon_dvr.py", line 262, in
modelnumber = getmodelnumber()
File "./pwn_hisilicon_dvr.py", line 141, in getmodelnumber
return modelnumber
UnboundLocalError: local variable 'modelnumber' referenced before assignment
csenger18 commented
Can this happened because of inappropriate target??
csenger18 commented
possible correlations:
TechSon_N_series_IP-camera_FW_3.3.5_2014-04-23 (/bin/driver/clkcfg_hi3518.sh) #https://habr.com/en/post/486856/
(root | hi3518)
#https://en.0day.today/exploit/33904
#https://github.com/fkie-cad/FACT_core
Search results with FACT ( uploaded file: 2_0mpx-fw3_3_5-20140226.tar)
/bin/driver/clkcfg_hi3518.sh NOP
1970-01-01 01:00:00
/bin/driver/hi3518_adec.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_aenc.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_ai.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_ao.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_base.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_chnl.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_dsu.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_group.ko generic_carver
1970-01-01 01:00:00
/bin/driver/hi3518_h264e.ko generic_carver
1970-01-01 01:00:00