Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- jarfile="${PWD}/jarfile"
- session=$(curl -c "${jarfile}" https://arenda-piter.ru/newmap/ 2>/dev/null \
- | grep sessionKey \
- | sed -e "s/.*sessionKey='//g" -e "s/';//g")
- curl 'https://arenda-piter.ru/newmap/scripts/objects.php' \
- -b "${jarfile}" \
- --data "latLB=28.467502285642258&lonLB=-2.7223292549499623&latRT=67.06932409030105&lonRT=8.791342620050052&sessionKey=${session}"
Advertisement
Add Comment
Please, Sign In to add comment