原创 python false和False

true = False def wazzup(): """ 假亦真時真亦假 """ false = True or False def t

原创 adb logcat日誌清空

adb logcat -c -b main -b events -b radio -b system

原创 python 刪除鏈表倒數第n個節點

def delete_k_node(self, head, index): """ 刪除鏈表倒數第k個節點 :param head: :param index:

原创 python單鏈表反轉

1.迭代的方式 def reverse(self, head): if head is None or head.next is None: return head cur =

原创 python-ffmpeg

# -*- coding: utf-8 -*- # @Time : 2022/12/27 4:37 下午 # @Author : chenxiangan # @File : mp4tomp3.py # @Software: PyCharm

原创 C語言實現udp

#include <stdio.h> #include <strings.h> #include "arpa/inet.h" typedef union std { unsigned short a; unsigned c

原创 telethon代碼運行

import asyncio import datetime import json import pymongo import requests from apscheduler.schedulers.asyncio import As

原创 mac中導出b剪字幕

# -*- coding: utf-8 -*- # @Time : 2022/12/7 10:18 上午 # @Author : chenxiangan # @File : gen_title.py # @Software: PyCharm

原创 系統調用號查詢

https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md#arm64-64_bit

原创 frida過檢測

function hook_dlopen() { var dlopen = Module.findExportByName(null, 'android_dlopen_ext'); if (dlopen) {

原创 frida anti pthread_create

function anti_pthread(){ var p_pthread_create = Module.findExportByName("libc.so", "pthread_create"); var pthread_cr

原创 ctf.bobbydylan python解密

str = "1234567890abcdef" iArr = [0] * 16 iArr[0] = 0 iArr[12] = 14 iArr[10] = 7 iArr[14] = 15 iArr[15] = 42 try: iAr

原创 java bytes轉hex string

import org.apache.commons.codec.binary.Hex; String foo = "I am a string"; byte[] bytes = foo.getBytes(); System.out.pri

原创 xargs批量拷貝文件使用

file * |grep Zip |awk '{print $1}'|sed 's#:##g'|xargs -I G cp "G" so_zip

原创 native層x-sign frida hook

function hook_java(){ if(Java.available){ Java.perform(function(){ var SwitchConfig = Jav