kihei/i-0b94011fc9b466a01
by SadServersMore by SadServers
Passing on a "Transfer-Encoding: chunked" header when doing a HT quest body, will make curl send the data using chunked encoding. Example: curl -H "X-First-Name: Joe" http://example.com/ WARNING: headers set with this option will be set in all requests rects are followed, like when told with -L, --location. This can l ing sent to other hosts than the original host, so sensitive head with caution combined with following redirects. This option can be used multiple times to add/replace/remove multi Manual page curl(1) line 1104 (press h for help or q to quit)
paris/i-039b0cfc4259bd692 01:09
by SadServersWARNING: only considering LVM devices /dev/sdc [ 1.00 GiB] LVM physical volume /dev/sdb [ 1.00 GiB] LVM physical volume 2 LVM physical volume whole disks 0 LVM physical volumes admin@i-0cd04794b59819ce5:~$ sudo vgcreate 2gdisk /dev/sdc /dev/sdb Volume group "2gdisk" successfully created admin@i-0cd04794b59819ce5:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0cd04794b59819ce5:~$ sudo !! sudo vgs VG #PV #LV #SN Attr VSize VFree 2gdisk 2 0 0 wz--n- 1.99g 1.99g admin@i-0cd04794b59819ce5:~$ sudo lvcrea
kihei/i-0cd04794b59819ce5 04:57
by SadServersadmin@i-0b117fa6b5ba9fe7f:~$ curl localhost:5000 Unauthorizedadmin@i-0b117fa6b5ba9fe7f:~$ netstat -ano | grep 5000 tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:58914 127.0.0.1:5000 TIME_WAIT admin@i-0b117fa6b5ba9fe7f:~$ curl localhost:58914 curl: (7) Failed to connect to localhost port 58914: Connection refused admin@i-0b117fa6b5ba9fe7f:~$ netstat -ano | grep 5000 tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:58914 127.0.0.1:5000 TIME_WAIT admin@i-0b117fa6b5ba9fe7f:~$ ls agent webserver.py admin@i-0b117fa6b5ba9fe7f:~$ cat