Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local variable 'value' referenced before assignment #49

Open
4 tasks done
CookiePackage opened this issue Oct 20, 2020 · 6 comments
Open
4 tasks done

local variable 'value' referenced before assignment #49

CookiePackage opened this issue Oct 20, 2020 · 6 comments
Assignees

Comments

@CookiePackage
Copy link

CookiePackage commented Oct 20, 2020

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

  • I am using the latest version of XSFRProbe.
  • I installed the dependecies using pip3 instead of pip.
  • I have read the documentation before submitting this issue.
  • I have checked the other issues to see if someone reported this before.
@0xInfection 0xInfection self-assigned this Oct 21, 2020
@prolexgreen
Copy link

I have the same issue!

@RobertABT
Copy link

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

@0xInfection
Copy link
Owner

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

@ucola
Copy link

ucola commented May 27, 2021

Same issue here, any progress?

@JoonasMykkanen
Copy link

JoonasMykkanen commented Nov 9, 2021

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

@nrathaus
Copy link

I fixed it in my branch: https://github.com/nrathaus/XSRFProbe

Upstream project seems to have been abandoned

@nrathaus nrathaus mentioned this issue Apr 29, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants