How to Secure Device Access to AWS IoT

Imagine a scenario where you can fake as many WiFi hotspots as you want and then wander through the crowd. When people around you search for WiFi hotspots, the screen is full of your fake WiFi hotspots, like this: (In the picture above,'1. This advertising space rental','2. Silly upstairs','3. The three hotspots of marrying a programmer'were ...

Posted on Wed, 01 Dec 2021 19:06:17 -0500 by junrey

macOS tile window yabai configuration sharing

brief introduction yabai is a window management utility designed to work as an extension of the macOS built-in window manager. yabai allows you to freely control windows, spaces and displays using an intuitive command-line interface, with the option to set user-defined keyboard shortcuts ↗ skhd and other third-party software. The main functi ...

Posted on Mon, 22 Nov 2021 07:55:03 -0500 by nova

Swift tells you - basic data type (type)

Swift tells you (2) - Variables & constants (Variables & constants) Understanding difficulty★★☆☆☆ Practical degree★★★★★ According to different situations and needs, variables or constants need different types to perform actions. For example, height and weight need numbers with decimal points; Integer is required to calculate the numb ...

Posted on Wed, 17 Nov 2021 07:52:29 -0500 by Skepsis

XCTF - attack and defense world CTF platform - Reverse reverse class - 56, tar tar Binks

The title provides two files: flag.tar and libarchive.dylib 1, Decompress    flag.tar is a file that cannot be directly decompressed under windwos. Directly decompress it with tar -xvf flag.tar command:    the prompt is not a tar compressed file, but it contains a file header of flag.txt. Decompress a flag.txt file. ...

Posted on Sat, 30 Oct 2021 08:02:53 -0400 by Jumba

Summary of Bluetooth Development Experience - Automatic Pairing

Scene: Control side - ordinary mobile phone; Controlled side - XX device (no screen, no user operation, system privileges) There are two ways to find a device when Bluetooth is on: search and specify a mac.Searching for Bluetooth devices with the search function involves the concept of "visibility". Bluetooth ...

Posted on Tue, 14 Jul 2020 11:33:30 -0400 by radhoo

Installation and configuration of Ubuntu firewall

Ubuntu Install UFW firewall sudo apt-get install ufw For general users, only the following settings are required: sudo apt-get install ufw sudo ufw enable sudo ufw default deny The above three commands are safe enough. If you need to open some services, you can use sudo ufw allow. Enable sudo ufw enable sudo ufw default deny #Aft ...

Posted on Fri, 10 Jul 2020 12:13:14 -0400 by mckinney3

Some differences between Synchronized decorating method and code block at the bottom

Article catalog Decorated code block Modify instance method Modifying static methods summary Decorated code block The above example: public class SyncCodeBlock { public int i; public void syncTask(){ //Sync codebase synchronized (this){ i++; } } } Compile with j ...

Posted on Sat, 27 Jun 2020 02:14:36 -0400 by bobby4

linux raw socket grabs network packets

Packet capturing based on linux 1, Get data When we do network security or data detection work, we often use packet capturing. Familiar tools include tcpdump, wireshark, etc. Here we introduce how to use C program raw socket to grab IP link layer packets on linux system. First of all, we are familia ...

Posted on Sat, 20 Jun 2020 03:21:55 -0400 by bamfon

TSO process analysis

1. TSO(transimit segment offload) is for tcp. It refers to the ability of the protocol stack to offload the tcp segment operation to the hardware, which needs the support of the hardware. When the network card has TSO capability, the upper layer protocol stack can directly send a packet over MTU, and ...

Posted on Sat, 20 Jun 2020 01:21:48 -0400 by Nicholas Reed

Using nsq to generate pdf service with puppeter under node (eggjs)

The last article said ctx.service.pdf.index.generate(data) method is the core business method. Call service/pdf/ in root directory in egg index.js The generate method under. Let's talk about eggjs. Official website address: https://eggjs.org/zh-cn/basic.... Get to know eggjs Egg.js Born for enterprise framework and application, we should all ...

Posted on Fri, 19 Jun 2020 06:35:49 -0400 by snake310