docker compose exec -it rating-engine sh -c \
'ngrep -d any -W byline port 2021 or 2013 or 2014 or 2080 or 2060 or 2012 | \
while read line; do
echo "$line" | jq . 2>/dev/null || echo "$line"
done'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo docker run -it --rm --net container:59da80a76475 nicolaka/netshoot # Replace 59da80a76475 with the running container ID | |
| tcpdump -Xvv -i eth0 -s0 -w capture.pcap | |
| curl --upload-file capture.pcap https://uppy.sh/somleng.pcap | |
| curl -F "file=@capture.pcap" https://0x0.st | |
| curl --upload-file capture.pcap https://sgfile.io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Response> | |
| <Say voice="Polly.Aditi">Hello</Say> | |
| </Response> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.csv | |
| .DS_Store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Response> | |
| <Say voice="Polly.Russell">Hi Jen please leave a message after the beep</Say> | |
| <Record action="https://somleng-recordings.free.beeceptor.com"/> | |
| </Response> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CallDataRecord.find_each do |cdr| | |
| next if cdr.file.attached? | |
| cdr_url = "https://s3-ap-southeast-1.amazonaws.com/cdr.somleng.org/store/#{cdr.file_id}" | |
| cdr.file.attach( | |
| io: open(cdr_url), | |
| filename: cdr.file_filename, | |
| content_type: cdr.file_content_type | |
| ) | |
| end |
NewerOlder