mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-21 22:08:59 +00:00
* Figure out decimal pattern * More pre-loaded * Tune predefined spec * Prefix and suffix detected * Implement entry compacting * God bless unit tests * Fix a bug * REsearch it more * Write back test file * Working on merging pathObjs * Working on merging ops * Commit * Roll back some changes * Fix test * Fixed sorting * Accept test file * adding end line in the end of the file Co-authored-by: Igor Gov <iggvrv@gmail.com>
790 lines
19 KiB
JSON
790 lines
19 KiB
JSON
{
|
|
"log": {
|
|
"version": "1.2",
|
|
"creator": {
|
|
"name": "mitmproxy har_dump",
|
|
"version": "0.1",
|
|
"comment": "mitmproxy version mitmproxy 4.0.4"
|
|
},
|
|
"entries": [
|
|
{
|
|
"startedDateTime": "2019-09-06T06:14:43.864529+00:00",
|
|
"time": 111,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/e21f7112-3d3b-4632-9da3-a4af2e0e9166/sub1",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"headersSize": 1542,
|
|
"bodySize": 0,
|
|
"queryString": []
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"mimeType": "text/html",
|
|
"text": "",
|
|
"size": 0
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": 245,
|
|
"bodySize": 39
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": 22,
|
|
"receive": 2,
|
|
"wait": 87,
|
|
"connect": -1,
|
|
"ssl": -1
|
|
},
|
|
"serverIPAddress": "54.210.29.33"
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:18.747122+00:00",
|
|
"time": 630,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/952bea17-3776-11ea-9341-42010a84012a/sub2",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"queryString": [],
|
|
"headersSize": 1542,
|
|
"bodySize": 0
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"content": {
|
|
"size": 39,
|
|
"compression": -20,
|
|
"mimeType": "application/json",
|
|
"text": "null"
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": 248,
|
|
"bodySize": 39
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": 14,
|
|
"receive": 4,
|
|
"wait": 350,
|
|
"connect": 262,
|
|
"ssl": -1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:19.747122+00:00",
|
|
"time": 630,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/952bea17-3776-11ea-9341-42010a84012a;mparam=matrixparam",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"queryString": [],
|
|
"headersSize": 1542,
|
|
"bodySize": 0
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"content": {
|
|
"size": 39,
|
|
"compression": -20,
|
|
"mimeType": "application/json",
|
|
"text": "null"
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": 248,
|
|
"bodySize": 39
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": 14,
|
|
"receive": 4,
|
|
"wait": 350,
|
|
"connect": 262,
|
|
"ssl": -1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:20.047122+00:00",
|
|
"time": 630,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/appears-once",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"queryString": [],
|
|
"headersSize": 1542,
|
|
"bodySize": 0
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"content": {
|
|
"size": 39,
|
|
"compression": -20,
|
|
"mimeType": "application/json",
|
|
"text": "null"
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": 248,
|
|
"bodySize": 39
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": 14,
|
|
"receive": 4,
|
|
"wait": 350,
|
|
"connect": 262,
|
|
"ssl": -1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:20.747122+00:00",
|
|
"time": 630,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/appears-twice",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"queryString": [],
|
|
"headersSize": 1542,
|
|
"bodySize": 0
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"content": {
|
|
"size": 39,
|
|
"compression": -20,
|
|
"mimeType": "application/json",
|
|
"text": "null"
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": 248,
|
|
"bodySize": 39
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": 14,
|
|
"receive": 4,
|
|
"wait": 350,
|
|
"connect": 262,
|
|
"ssl": -1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:21.747122+00:00",
|
|
"time": 630,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/appears-twice",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"queryString": [],
|
|
"headersSize": 1542,
|
|
"bodySize": 0
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "HTTP/1.1",
|
|
"cookies": [],
|
|
"headers": [],
|
|
"content": {
|
|
"size": 39,
|
|
"compression": -20,
|
|
"mimeType": "application/json",
|
|
"text": "null"
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": 248,
|
|
"bodySize": 39
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": 14,
|
|
"receive": 4,
|
|
"wait": 350,
|
|
"connect": 262,
|
|
"ssl": -1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:20.747122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/form-urlencoded",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
}
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": "agent-id=ade&callback-url=&token=sometoken"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:21.747122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/form-urlencoded",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
}
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": "agent-id=ade&callback-url=&token=sometoken-second-val&optional=another"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.747122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/form-multipart",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "multipart/form-data; boundary=BOUNDARY"
|
|
}
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": "--BOUNDARY\r\nContent-Disposition: form-data; name=\"file\"; filename=\"metadata.json\"\r\nContent-Type: application/json\r\n\r\n{\"functions\": 123}\r\n--BOUNDARY\r\nContent-Disposition: form-data; name=\"path\"\r\n\r\n/content/components\r\n--BOUNDARY--\r\n"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 62,
|
|
"mimeType": "",
|
|
"text": "{}"
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 62
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:21.757122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/body-optional",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:21.747122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/body-optional",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": "{\"key\", \"val\"}"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:21.757122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/body-optional",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:21.757122+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://httpbin.org/body-required",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": "body exists"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.000000+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/param-patterns/prefix-gibberish-fine/234324",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.000001+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/param-patterns/prefix-gibberish-sfdlasdfkadf87sd93284q24r/1",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.000002+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/param-patterns/prefix-gibberish-adslkfasdf89sa7dfasddafa8a98sd7kansdf/static",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.000003+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/param-patterns/prefix-gibberish-4jk5l2345h2452l4352435jlk45",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.000004+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/param-patterns/prefix-gibberish-84395h2j4k35hj243j5h2kl34h54k",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
},
|
|
{
|
|
"startedDateTime": "2019-09-06T06:16:22.000002+00:00",
|
|
"time": 1,
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://httpbin.org/param-patterns/prefix-gibberish-afterwards/23421",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"queryString": [],
|
|
"headersSize": -1,
|
|
"bodySize": -1,
|
|
"postData": {
|
|
"mimeType": "",
|
|
"text": ""
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 200,
|
|
"statusText": "OK",
|
|
"httpVersion": "",
|
|
"cookies": [],
|
|
"headers": [
|
|
],
|
|
"content": {
|
|
"size": 0,
|
|
"mimeType": "",
|
|
"text": ""
|
|
},
|
|
"redirectURL": "",
|
|
"headersSize": -1,
|
|
"bodySize": 0
|
|
},
|
|
"cache": {},
|
|
"timings": {
|
|
"send": -1,
|
|
"wait": -1,
|
|
"receive": 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |