- Acquire the APK of the app you'd like to sniff
- Install Android Studio, including AVD for the Android emulator
- Install mitmproxy and launch it
- Install python3 (or use winget if you're on Windows)
- Install apktool and make sure it's on your PATH
- Create an empty project in Android Studio
- Go to Settings > Tools > Emulator and uncheck
Launch in Running Devices tool window, then click OK - On the right side of the window, click the Device Manager tab and launch the VM
I went ahead and moved this to a full repo in Github: https://github.com/peelman/rancid-srlinux
All future changes will be posted over there.
| from extras.validators import CustomValidator | |
| from virtualization.models import VirtualMachine | |
| class UniqueVirtualMachineNamesCasefold(CustomValidator): | |
| """Enforce case-insensitive unique VM names. | |
| Your configuration.py file would contain something like this: | |
| CUSTOM_VALIDATORS = { |
In order to keep filters up to date, please use this repo.
This is inspired by A half-hour to learn Rust and Zig in 30 minutes.
Your first Go program as a classical "Hello World" is pretty simple:
First we create a workspace for our project:
| class fastnetmon ( | |
| Hash $policy_defaults = {} | |
| Hash $policy_overrides = {} | |
| Array[Stdlib::IP::Address,1] $networks = [], | |
| Array[Stdlib::IP::Address,1] $all_networks = [], | |
| Optional[Stdlib::Host] $graphite_host = undef, | |
| ) { | |
| $policy_overrides.each |String $network| { | |
| $network = slice_network_constants($network['network'], {'desription' => '$network['desrciption']}) | |
| file {"etc/fastnetmodn.d/$network_$network['description'].conf": { ... } |
| <?php | |
| /* | |
| * Display LibreNMS interface graphs in Netbox | |
| * | |
| * 1. Upload this file into the plugin folder of LibreNMS. | |
| * 2. Generate an API key in LibreNMS and insert the connection details below. | |
| * 3. Create graphs in Netbox using the following URL scheme. | |
| * https://nms.level66.network/plugins/netbox-graph.php?device={{ obj.device.name }}&interface={{ obj.name }}&duration=8h | |
| * 4. Save time in your daily work! | |
| * |
From: https://lobste.rs/s/by7kff/what_have_you_learned_by_working_remote
What are some tips/things that you have learned after working remote for the first time that you wish you knew before you began?
https://lobste.rs/s/by7kff/what_have_you_learned_by_working_remote#c_rpoimx
I’ve been working remote for 10 years, and spend the 10 previous years in an office. Not sure I know what I wish I knew 10 years ago,
The final part of the EM7455 Linux driver support is going in Linux v4.7 which will be released in a couple of weeks. It will also be backported to the currently maintained stable kernels, so you should eventually get it through Ubuntu kernel updates.
Sorry it took this long. In theory, any MBIM modem should just work with the existing Linux drivers. But it turned out that the EM7455 needed a small delay during initialization, or it would silently fail to work. The "fix" is a single line of code:
>
| #!/usr/bin/env ruby | |
| # script to generate PCAP from Trio exception trace. Potentially you may need to change POP_BYTES variable. | |
| # Trio exception trace allows you to capture things like broken packets (checksum error), to see who is sending them | |
| # clogin junos-trio-box | tee exception_trace | |
| # start shell pfe network fpc0 | |
| # show jnh 0 exceptions terse | |
| # debug jnh exceptions N discard ## get N from above command | |
| # debug jnh exceptions-trace |