September 4, 2021 | 23:15

INE WebApp Labs - Introduction

Preparation # Set lab DNS $ sudo sed -i 's/nameserver.*/nameserver' /etc/resolv.conf Cookies These are labs to understand how cookies work. Lab 1 Test cookie with domain set by default $ curl -i -s -k -X $'POST' \ -H $'Host:' \ --data-binary $'username=admin&password=adminpassword' \ $'' \ | grep "TestCookie" Set-Cookie: TestCookie=Cookie+set+by+default The cookie is set without a domain value and without a path. It is only valid for the same domain, but all paths: Read more

© Pavel Pi 2021

Powered by Hugo & Kiss'Em.