- Install target mingw-w64:
brew install mingw-w64 - Add target to rustup:
rustup target add x86_64-pc-windows-gnu - Create
.cargo/config - Add the instructions below to
.cargo/config
[target.x86_64-pc-windows-gnu]
| import jenkins.model.* | |
| instance = Jenkins.getInstance() | |
| globalNodeProperties = instance.getGlobalNodeProperties() | |
| envVarsNodePropertyList = globalNodeProperties.getAll(hudson.slaves.EnvironmentVariablesNodeProperty.class) | |
| newEnvVarsNodeProperty = null | |
| envVars = null | |
| if ( envVarsNodePropertyList == null || envVarsNodePropertyList.size() == 0 ) { | |
| newEnvVarsNodeProperty = new hudson.slaves.EnvironmentVariablesNodeProperty(); |
| import java.lang.reflect.*; | |
| import jenkins.model.Jenkins; | |
| import jenkins.model.*; | |
| import org.jenkinsci.plugins.scriptsecurity.scripts.*; | |
| import org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.*; | |
| scriptApproval = ScriptApproval.get() | |
| alreadyApproved = new HashSet<>(Arrays.asList(scriptApproval.getApprovedSignatures())) | |
brew install mingw-w64rustup target add x86_64-pc-windows-gnu.cargo/config.cargo/config[target.x86_64-pc-windows-gnu]
| C:\Python27\Scripts>frida-trace.exe -i "CreateFile*" notepad.exe | |
| Instrumenting functions... | |
| CreateFileMappingFromApp: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFileMappingFromApp.js" | |
| CreateFile2: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFile2.js" | |
| CreateFileA: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFileA.js" | |
| CreateFileMapping2: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFileMapping2.js" | |
| CreateFileW: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFileW.js" | |
| CreateFileMappingW: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFileMappingW.js" | |
| CreateFileMappingNumaW: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\KERNELBASE.dll\\CreateFileMappingNumaW.js" | |
| CreateFileMoniker: Loaded handler at "C:\\Python27\\Scripts\\__handlers__\\ole32.dll\\CreateFileMoniker.js" |
| # ========================================================== | |
| # NPM | |
| # ========================================================== | |
| npm set registry https://registry.npmmirror.com # 注册模块镜像 | |
| npm set disturl https://npmmirror.com/mirrors/node # node-gyp 编译依赖的 node 源码镜像 | |
| ## 以下选择添加 | |
| npm set sass_binary_site https://registry.npmmirror.com/mirrors/node-sass # node-sass 二进制包镜像 | |
| npm set electron_mirror https://registry.npmmirror.com/mirrors/electron/ # electron 二进制包镜像 |
| #include <Windows.h> | |
| #include <d3d11.h> | |
| #include <atlbase.h> | |
| #pragma comment (lib, "d3d11.lib") | |
| #include <iostream> | |
| #include <thread> | |
| #include <chrono> | |
| #include <memory> | |
| #include <vector> |
| // web/console.dart | |
| @JS('console') | |
| library console; | |
| import 'package:js/js.dart'; | |
| external void log(dynamic str); |
| from idc import * | |
| from idaapi import * | |
| from idautils import * | |
| counter = 0 | |
| lst = [] | |
| addr = 0x01073E62 | |
| # See idapython/src/examples/debughook.py |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os/exec" | |
| "errors" | |
| "strings" | |
| log "github.com/sirupsen/logrus" |
Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service