Git Product home page Git Product logo

pinata-csrf-tool's People

Watchers

 avatar

pinata-csrf-tool's Issues

Trailing newline characters in GET request can can produce the following error.

What steps will reproduce the problem?
1. A GET request with trailing newline characters

What is the expected output? What do you see instead?
Pinata-CSRF_v0.92>pinata.py
The HTML Form uses a GET method, Generating CSRF HTML..................
 ####################################################################

Traceback (most recent call last):
 File "C:\DIR\Pinata-CSRF_v0.92\pinata.py", line 185, in <module>
   dicHeader = encodedToDict(header)
 File "C:\DIR\Pinata-CSRF_v0.92\pinata.py", line 31, in encodedToDict
   key, value = parm.split(': ',1)
ValueError: need more than 1 value to unpack
--

What version of the product are you using? On what operating system?
 V0.92

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Nov 2010 at 11:32

URL Encoding of responses.

Standard HTTP request is URL encoded. Pinata.py script does not URL decode 
the key, value pairs. I have deliberately choosen not to do that as I have 
noticed that majority of the time URL decoding will break the HTML and 
encoded URL response always works.

However there are instances where you will want to produce HTML with key 
and values are not URL encoded. You can do that using 
pinataWithEncoding.py which is also included in the pinata.zip. 
Alternately you can generate HTML using both the scripts to see whether it 
is working.   

Original issue reported on code.google.com by [email protected] on 23 Apr 2010 at 12:11

Limitation - Assumes the site being tested is over SSL.

Since HTTP request does not have any identifiers to indicate whether the 
site is over HTTPS or HTTP. I have hard coded the script to produce HTML 
that assumes an HTTPS connection. If the site being tested is over HTTP, 
please edit your generated HTML's URL to say HTTP.

Original issue reported on code.google.com by [email protected] on 22 Apr 2010 at 11:59

Pinata generates errors if header field String has ': ' - usually in user agent.

Pinats will generate the follow errors if header field srting has semi 
colon followed by space ': '. This usually happens in user agent string.

Traceback (most recent call last):
  File "C:\Project\Complete\pinata.py", line 200, in <module>
    dicHeader = encodedToDict(header)
  File "C:\Project\Complete\pinata.py", line 22, in encodedToDict
    key, value = parm.split(': ')
ValueError: too many values to unpack

Workaround:
The easiest fix is to turncate the user agent string in the HTTP request 
and then run the tool.

Original issue reported on code.google.com by [email protected] on 27 Apr 2010 at 11:56

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.