摘要:
在开发的时候发现Android系统申请读写权限没效果,调查发现安卓6.0以后需要动态申请权限。 在OnCreate里面加入下面代码 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP) { if (ActivityCompat.check 阅读全文
摘要:
1.自己写了个xposed插件语法错误开不开机 因为代码是写在了handleLoadPackage前面所以导致开不开机,代码如下 private String mCurrApkPath = Environment.getExternalStorageDirectory().getPath() + " 阅读全文
摘要:
1.创建不一样的ida_rsa cd ~/.ssh mkdir githubssh ssh-keygen -t rsa -f ~/.ssh/githubssh/id_rsa.github -C "xxxx@qq.com" 之后就是把id_rsa.github.pub文件的内容复制到github的se 阅读全文
摘要:
function UnicodeEnc(str){ let value ='' for(let i=0;i<str.length;i++){ value+="\\u"+("0000"+parseInt(str.charCodeAt(i)).toString(16)).substr(-4); retu 阅读全文
摘要:
第一步 git reflog 第二步找到目标分支 c27d274 (HEAD -> master) HEAD@{12}: commit: add spider 第三步 git reset --hard c27d274 阅读全文
摘要:
def shiftRound(array, num): ''' :param array: 需要循环左移的数组 :param num: 循环左移的位数 :return: 使用Python切片,返回循环左移num个单位的array ''' return array[num:] + array[:num 阅读全文
摘要:
function main(){ Java.perform(function(){ console.log("[*] I am a hook function"); var strStr = Module.findExportByName("libc.so", "strstr"); console. 阅读全文
摘要:
在zshrc最下面加上下面这些,程序自己加的不能用,需要手动调整 export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" if command -v pyenv 1>/dev/null 2>&1; then eval 阅读全文
摘要:
(function () { var iframe = document.createElement('iframe'); document.body.appendChild(iframe); window.console = iframe.contentWindow.console }()); 阅读全文