mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Добавлена опция распаковки WebSockets
This commit is contained in:
parent
eee2e528a3
commit
4e6a685e69
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="packet" :class="{'packet-incoming': packet.incoming}">
|
||||
<div>#{{ packet.id }} at {{ dateToText(packet.timestamp) }}, {{ packet.ungzipped ? 'GZIP ' : '' }}{{ packet.webSocketDeflated ? 'WS' : '' }}
|
||||
<div>#{{ packet.id }} at {{ dateToText(packet.timestamp) }}, {{ packet.ungzipped ? 'GZIP ' : '' }}{{ packet.webSocketInflated ? 'WS' : '' }}
|
||||
<button @click.prevent="copyRaw" class="btn btn-link">Copy HEX</button>
|
||||
<button @click.prevent="copyText" class="btn btn-link">Copy text</button>
|
||||
<button @click.prevent="copyPythonBytes" class="btn btn-link">Copy as Python bytes</button>
|
||||
@ -25,7 +25,7 @@
|
||||
timestamp: Number(),
|
||||
incoming: Boolean(),
|
||||
ungzipped: Boolean(),
|
||||
webSocketDeflated: Boolean(),
|
||||
webSocketInflated: Boolean(),
|
||||
content: String(),
|
||||
},
|
||||
},
|
||||
|
||||
@ -40,9 +40,9 @@
|
||||
</b-form-group>
|
||||
<b-form-group
|
||||
label-cols-sm="4"
|
||||
label="Deflate WebSockets"
|
||||
label-for="addSvc-deflateWS">
|
||||
<b-form-checkbox id="addSvc-deflateWS" required
|
||||
label="Inflate WebSockets"
|
||||
label-for="addSvc-inflateWS">
|
||||
<b-form-checkbox id="addSvc-inflateWS" required
|
||||
v-model="inflateWebSockets"/>
|
||||
</b-form-group>
|
||||
</form>
|
||||
|
||||
@ -18,23 +18,29 @@
|
||||
@keyup.enter.stop.prevent="submit"/>
|
||||
</b-form-group>
|
||||
<b-form-group label-cols-sm="4"
|
||||
label="Decompress GZIP?"
|
||||
label="Decompress GZIP"
|
||||
label-for="service-ungzip">
|
||||
<b-form-checkbox id="service-ungzip" required
|
||||
v-model="service.ungzipHttp"/>
|
||||
</b-form-group>
|
||||
<b-form-group label-cols-sm="4"
|
||||
label="Apply urldecode?"
|
||||
label="Apply urldecode"
|
||||
label-for="service-urldecode">
|
||||
<b-form-checkbox id="service-urldecode" required
|
||||
v-model="service.urldecodeHttpRequests"/>
|
||||
</b-form-group>
|
||||
<b-form-group label-cols-sm="4"
|
||||
label="Merge adjacent packets??"
|
||||
label="Merge adjacent packets"
|
||||
label-for="service-mergeAdjacent">
|
||||
<b-form-checkbox id="service-mergeAdjacent" required
|
||||
v-model="service.mergeAdjacentPackets"/>
|
||||
</b-form-group>
|
||||
<b-form-group label-cols-sm="4"
|
||||
label="Inflate WebSockets"
|
||||
label-for="service-inflateWS">
|
||||
<b-form-checkbox id="service-inflateWS" required
|
||||
v-model="service.inflateWebSockets"/>
|
||||
</b-form-group>
|
||||
</b-form>
|
||||
</b-modal>
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user