XSRFProbe icon indicating copy to clipboard operation
XSRFProbe copied to clipboard

local variable 'value' referenced before assignment

Open CookiePackage opened this issue 4 years ago • 6 comments

Describe the bug

While scanning a page, on Origin based request validation part it encounters an error while crafting inputs as form type.

Command You Used

xsrfprobe -u http://192.168.1.1/cgi-bin/luci/admin/ -c "sysauth=2065fe79a5b0a8ff9712cec650edd834" --crawl -v -t 10 -d 10 -o AnotherTest

Full Stack Trace Error

image

in errored.log file image

Environment:

  • OS: [Ubuntu 20.04.1 LTS]
  • Python version: [v3.8.5]

Some Questions

  • [x] I am using the latest version of XSFRProbe.
  • [x] I installed the dependecies using pip3 instead of pip.
  • [x] I have read the documentation before submitting this issue.
  • [x] I have checked the other issues to see if someone reported this before.

CookiePackage avatar Oct 20 '20 09:10 CookiePackage

I have the same issue!

prolexgreen avatar Mar 23 '21 19:03 prolexgreen

I'm having the same issue, python 3.9.2 on kali 5.10.0-kali7-amd64 Log states: (i) http://10.10.136.75/ -> local variable 'value' referenced before assignment

End of the output from running xsrfprobe -u 10.10.136.75

[!] Parsing URL parameters... [!] Crafting inputs as form type... [*] Processing <input type="text" name="...

[-] Encountered an error.

[-] Please view the error log files to view what went wrong. [-] local variable 'value' referenced before assignment

RobertABT avatar May 02 '21 23:05 RobertABT

This is being worked on the fixes branch. I'll try to create a release asap.

0xInfection avatar May 03 '21 03:05 0xInfection

Same issue here, any progress?

ucola avatar May 27 '21 14:05 ucola

Did this ever get fixed? I just installed 3.2.1 with pip3 and I'm getting this issue with simple xsrfprobe -u http://xxx.xxx.xxx.xxx

JoonasMykkanen avatar Nov 09 '21 22:11 JoonasMykkanen