Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import argparse
import sys
import time
import logging
import os
# Add pynrfjprog to Python path
pynrfjprog_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))),
'_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
'_/ Portions generated by MASH - Microsoft Agent Scripting Helper, version 7.5
'_/ by BellCraft Technologies, http://www.bellcraft.com/mash
'_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
' * Agent Object
Dim AgentControl
' * Character Objects
Dim Peedy
To set up the nRF52840-DK with the nRF52 series as a BLE device in active scanning or sniffer mode using the Zephyr RTOS API, we’ll use Zephyr’s Bluetooth subsystem. The nRF52840 does not require a separate SoftDevice (like in the Nordic SDK) because Zephyr provides its own Bluetooth Controller and Host stack, fully integrated into the OS. Below, I’ll guide you through configuring the nRF52840-DK for both active scanning and sniffer-like behavior using Zephyr’s high-level APIs, avoiding raw HCI commands unless necessary.
Assumptions
You’re using the nRF52840-DK board (nrf52840dk_nrf52840 in Zephyr).
Zephyr’s Bluetooth subsystem is enabled in your project configuration.
You’re familiar with building and flashing Zephyr applications.
Step 1: Project Setup
First, ensure your Zephyr project is configured correctly for BLE.
@paigeadelethompson
paigeadelethompson / gist:08ae4f3f4b0cec48dd409577b5c030b9
Last active February 24, 2025 16:32
It's an open box hardly even used
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.8.0] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: APPLE HDD HTS541010A9E632
Serial Number: JD8002D8KYRYJD
LU WWN Device Id: 5 000cca 82bf7cb6f
Firmware Version: JA0AB5N0
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical

Updated Table of Entropy, Length, and Identifiable Name

Username Entropy (Normalized) Length Identifiable Name
@donna3223865406 0.6 14 Yes
@deborah06447035 0.6 13 Yes
@patrici04151414 0.5 14 Yes
@sandra612566313 0.6 14 Yes
@karen3528633471 0.6 14 Yes
@nancy5036312773 0.5 14 Yes
#!/bin/bash
# Exit codes:
# 1: No input file specified
# 2: Input file not found
# 3: WAV conversion failed
# 4: Empty WAV file created
# 5: fdkaac encoding failed
# 0: Success
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c
index 6ffeab59112b..fca83c74671b 100644
--- a/sys/kern/kern_jail.c
+++ b/sys/kern/kern_jail.c
@@ -325,8 +325,11 @@ sys_jail(struct thread *td, struct jail_args *uap)
struct jail j;
error = copyin(uap->jail, &version, sizeof(uint32_t));
- if (error)
+ if (error) {
<?php
/**
* Created by Klaas Tammling.
* Project: anope2atheme
* User: ktammling
* Date: 10.10.2016
* Time: 15:55
*/
$mu_hold = 0x00000001;
@paigeadelethompson
paigeadelethompson / Dockerfile
Last active December 4, 2024 23:07
ex0ch Dockerfile
FROM ubuntu:noble
RUN apt -y update
RUN apt -y install apache2 perl git cpanminus
WORKDIR /tmp
RUN git clone https://github.com/PrefKarafuto/ex0ch.git
@paigeadelethompson
paigeadelethompson / http.pl
Created December 4, 2024 19:06
HTTP::Simple::Server::CGI::PreFork example
#!/usr/bin/env perl
use Env;
use HTTP::Server::Simple::CGI::PreFork;
{
package WebServer;
use base 'HTTP::Server::Simple::CGI::PreFork';
use File::Slurp;
sub handle_request {