Skip to content

Instantly share code, notes, and snippets.

View TheCjw's full-sized avatar
💭
I may be slow to respond.

TheCjw TheCjw

💭
I may be slow to respond.
View GitHub Profile
<#
.Synopsis
This function will set the proxy settings provided as input to the cmdlet.
.Description
This function will set the proxy server and (optinal) Automatic configuration script.
.Parameter ProxyServer
This parameter is set as the proxy for the system.
Data from. This parameter is Mandatory
.Example
Setting proxy information
<#
.SYNOPSIS
This script reads the event log "Microsoft-Windows-TerminalServices-LocalSessionManager/Operational" from
multiple servers and outputs the human-readable results to a CSV. This data is not filterable in the native
Windows Event Viewer.
Version: November 9, 2016
@TheCjw
TheCjw / 1.md
Created May 8, 2019 02:21
Set timezone for alpine base image.
      - "/etc/localtime:/etc/localtime:ro"
      - "/etc/timezone:/etc/timezone:ro"
@TheCjw
TheCjw / proguard-timber.txt
Created March 22, 2019 06:22
Proguard for removing timber
-assumenosideeffects class timber.log.Timber { *; }
@TheCjw
TheCjw / proguard-xposed.txt
Last active March 22, 2019 03:45
Proguard for Xposed
# Proguard for Xposed.
-keep class * implements de.robv.android.xposed.IXposedHookZygoteInit
-keep class * implements de.robv.android.xposed.IXposedHookLoadPackage
-keep class * implements de.robv.android.xposed.IXposedHookInitPackageResources
-keep class * extends de.robv.android.xposed.XC_MethodHook
-keep class * extends de.robv.android.xposed.XC_MethodReplacement
-keepclassmembers class * implements de.robv.android.xposed.IXposedHookZygoteInit {
public void initZygote(de.robv.android.xposed.IXposedHookZygoteInit.StartupParam);
}
Package: com.abcydia.netfix
Version: 1.0-1
Section: System
Maintainer: WZteam <admin@abcydia.com>
Depends: firmware (>= 10.2.1)
Architecture: iphoneos-arm
Name: Netfix Cydia联网修正
Author: ABCydia <admin@abcydia.com>
Sponsor: ABCydia <http://www.abcydia.com>
/*
* Dodgy POC for my CVE-2018-4150 bug - @cmwdotme
*
* Bad locking lets you use BIOCSDLT and race BIOCSBLEN to increase the length without
* increasing/reallocating the buffer.. which lets you overflow ;) Should work up to iOS 11.2.6
*
*/
#include <fcntl.h>
#include <pthread.h>
{
"homepage": "http://www.exeinfo.xn.pl/",
"version": "0.0.4.9",
"hash": "fb4d6062e81411654324565fbc13d585a06e706aed57216b49e0da312cecebd0",
"url": "https://down.52pojie.cn/Tools/PEtools/ExeinfoPe.zip",
"extract_dir": "ExeinfoPe",
"bin": "exeinfope.exe"
}
@TheCjw
TheCjw / mono_debundle.py
Created April 29, 2018 07:04
mono-debundle
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Author: TheCjw<thecjw@qq.com>
# Created on 14:58 2015/5/24
__author__ = "TheCjw"
import argparse
import os
import struct
@TheCjw
TheCjw / update-images.sh
Created February 6, 2018 13:17 — forked from ColinLeverger/update-images.sh
Update all Docker images
docker images | grep -v REPOSITORY | awk '{printf("%s:%s\n", $1, $2)}' | xargs -L1 docker pull