Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // string 轉 base64 | |
| function EncodeB64(str) { | |
| return window.btoa(unescape(encodeURIComponent(str))); | |
| } | |
| // 還原base64 string | |
| function DecodeB64(str) { | |
| return decodeURIComponent(escape(window.atob(str))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string.h> | |
| #include <stdio.h> | |
| #include <malloc.h> | |
| #include <jni.h> | |
| const char *getSignature(JNIEnv *env, jobject context) { | |
| // Build.VERSION.SDK_INT | |
| jclass versionClass = (*env)->FindClass(env, "android/os/Build$VERSION"); | |
| jfieldID sdkIntFieldID = (*env)->GetStaticFieldID(env, versionClass, "SDK_INT", "I"); | |
| int sdkInt = (*env)->GetStaticIntField(env, versionClass, sdkIntFieldID); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ##### | |
| # | |
| # St8out - Extra one-liner for reconnaissance | |
| # | |
| # Usage: ./st8out.sh target.com | |
| # | |
| # Resources: | |
| # - https://github.com/j3ssie/metabigor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0 | |
| 00 | |
| 01 | |
| 02 | |
| 03 | |
| 1 | |
| 1.0 | |
| 10 | |
| 100 | |
| 1000 |
| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Java.perform(function() { | |
| const targetClass = Java.use('com.example.TargetClass'); | |
| targetClass.targetMethod.implementation = function() { | |
| const argumentsJson = JSON.stringify(arguments, null, 2); | |
| const returnValue = targetClass.targetMethod.apply(this, arguments); | |
| console.log('TARGETED_METHOD_CALLED'); | |
| console.log('ARGUMENTS:', argumentsJson); | |
| console.log('RETURN_VALUE:', returnValue); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Simple PAC script example | |
| function FindProxyForURL(url, host) { | |
| if ( /*condition to pass the request through a local proxy server */ ) { | |
| return 'PROXY 127.0.0.1:8080'; | |
| /* If you have Tor installed you can route this connection over Tor like so;*/ | |
| /* return 'PROXY 127.0.0.1:9050'; */ | |
| } | |
| if ( /*condition to pass the request through a network proxy server */ ) { |
javascript:(function(){
allowCopyAndPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('copy', allowCopyAndPaste, true);
document.addEventListener('paste', allowCopyAndPaste, true);
document.addEventListener('onpaste', allowCopyAndPaste, true);
})();
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ` | |
| ~/ | |
| ~ | |
| ×™× | |
| ___ | |
| __ | |
| _ |
NewerOlder