Improve curl commands #446

Closed
viyatb opened this Issue May 1, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@viyatb
Member

viyatb commented May 1, 2015

@7a :
We need to improve CLI commands for ease of manual verification, for example, the curl PUT test, needs to be arranged so that it’s easy to verify “what was even attempted to be uploaded”, for example:

FILE=$(head /dev/random -c8 | od -tx1 -w16 | head -n1 | cut -d' ' -f2- | tr -d ' '); echo "Tried File: $FILE"; curl -s -i -A 'Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/15.0' -X 'PUT' --data "$FILE" -k "https://target.com/admin/$FILE"
Tried File: 44b7fa5e6d0d5798

ie. right now, we are calling /dev/random twice so that's not repeatable. The whole point of the curl commands is to give something repeatable so that the tester can copy + paste to see if the same response comes up.

@viyatb viyatb added the Feature label May 1, 2015

@viyatb viyatb added Easy Fix Enhancement and removed Feature labels Mar 3, 2016

@arunk-s

This comment has been minimized.

Show comment
Hide comment
@arunk-s

arunk-s Mar 4, 2016

Contributor

@delta24 Can you explain a little more on this issue ? I'd like to work on this one.

Contributor

arunk-s commented Mar 4, 2016

@delta24 Can you explain a little more on this issue ? I'd like to work on this one.

arunk-s added a commit to arunk-s/owtf that referenced this issue Mar 5, 2016

arunk-s added a commit to arunk-s/owtf that referenced this issue Mar 5, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 11, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 12, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 12, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 12, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 12, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 12, 2016

arunk-s added a commit to arunk-s/owtf that referenced this issue Mar 14, 2016

pauTE added a commit to pauTE/owtf that referenced this issue Mar 14, 2016

@viyatb viyatb closed this in 02e2fdf Mar 15, 2016

viyatb added a commit that referenced this issue Mar 15, 2016

Merge pull request #600 from pauTE/fix446
Fix #446: improve curl commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment