Skip to content

Instantly share code, notes, and snippets.

View patrickwtl's full-sized avatar

patrick patrickwtl

  • Beijing
View GitHub Profile
@patrickwtl
patrickwtl / findStrings.sh
Last active December 17, 2019 04:16
Detect string constants in file
#!/bin/bash
## Test on Mac only. Using this tool to find string constants in so libraries
##
## Documentation of `strings`
## Strings looks for ASCII strings in a binary file or standard input. Strings is useful for identifying random object files and many other things. A string is any sequence of 4 (the default) or more printing characters [ending at, but
## not including, any other character or EOF]. Unless the - flag is given, strings looks in all sections of the object files except the (__TEXT,__text) section. If no files are specified standard input is read.
##
##
## Use `man strings` to get more detail
for filename in ./*.so; do
@patrickwtl
patrickwtl / JavaScript useful tools
Last active December 26, 2015 16:09
Useful tool and docs for JavaScript development
The JSON Validator
http://jsonlint.com/
Nodejitsu Documentation - node.js
https://www.nodejitsu.com/documentation/