$ sudo apt-get install cifs-utils
$ sudo mkdir /mnt/CIFSMOUNT
| #!/usr/bin/env python | |
| ############### // gelfListener 0.2 // ############### | |
| # | |
| # Listens on UDP 12201 for Gelf messages | |
| # Extracts the event data and writes the message to disk | |
| # updated to handle both zlib (nxlog) and gzip (graylog server) compressed events | |
| # not perfect, but works okay | |
| # | |
| # Bugs: |
| /* Android ssl certificate pinning bypass script for various methods | |
| by Maurizio Siddu | |
| Run with: | |
| frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause] | |
| */ | |
| setTimeout(function() { | |
| Java.perform(function() { | |
| console.log(''); |
| #!/usr/bin/env python | |
| ############### // gelfListener 0.2 // ############### | |
| # | |
| # Listens on UDP 12201 for Gelf messages | |
| # Extracts the event data and writes the message to disk | |
| # updated to handle both zlib (nxlog) and gzip (graylog server) compressed events | |
| # not perfect, but works okay | |
| # | |
| # Bugs: |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| worker_processes 1; | |
| error_log logs/error.log; | |
| events { | |
| worker_connections 1024; | |
| } |