export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS
π
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
| sc.killAutoHandle(); | |
| sc.getService("ns:am2", (hndle) => { | |
| utils.log("got handle 0x" + hndle.toString(16)); | |
| // GetApplicationManagerInterface | |
| var res = sc.ipcMsg(7996).data(0).sendTo(hndle).assertOk(); | |
| sc.withHandle(res.movedHandles[0], (amih) => { | |
| utils.log("got handle 0x" + amih.toString(16)); | |
| // launch |
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
| #define UNLOADED_FILE 1 | |
| #include <idc.idc> | |
| static main(void) | |
| { | |
| // set 'loading idc file' mode | |
| set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS)); | |
| GenInfo(); // various settings | |
| Segments(); // segmentation | |
| Enums(); // enumerations |
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
| commit acc0182c3d3869802bc20c8bf4e04c3464936bcc | |
| Author: Douglas Hellinger <doug.hellinger@hotmail.com> | |
| Date: Sun Nov 19 22:48:46 2017 +0800 | |
| Fix tracerPid=0 in /proc | |
| diff --git a/fs/proc/array.c b/fs/proc/array.c | |
| index 6f6fc16..bcf470d 100644 | |
| --- a/fs/proc/array.c | |
| +++ b/fs/proc/array.c |
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
| sc.killAutoHandle(); | |
| function c32to8(data) | |
| { | |
| var len = data.length; | |
| var ret = new Uint8Array(len * 4); | |
| var offs = 0; | |
| for(i = 0; i < len; i++) | |
| { |
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
| [ | |
| { | |
| "bytes" : "2", | |
| "description" : "Add with Carry", | |
| "name" : "ADC", | |
| "opcode" : "$69", | |
| "mode" : "Immediate" | |
| }, | |
| { | |
| "opcode" : "$65", |
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
| from pwn import * | |
| # Set up pwntools to work with this binary | |
| elf = context.binary = ELF('ret2win') | |
| # Enable verbose logging so we can see exactly what is being sent. | |
| context.log_level = 'debug' | |
| # Print out the target address | |
| info("%#x target", elf.symbols.ret2win) |
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
| // Attempting to find the link_map for an executable without | |
| // actually using the relocations / symtab / etc so we can elide | |
| // all that stuff from our ELF file. (for an executable packer) | |
| // With a .got entry it should be not so difficult to do, | |
| // since GOT[0] is always the link_map. (depending on what | |
| // actually triggers this entry to be written by ld-linux.so.1) | |
| // This code scans the aux vector for the address of the program's |
The best way to safely and securely use local domains pointing to 127.0.0.1 is to edit your local settings (/etc/hosts) and add your own settings. Keep in mind if you want to use subdomains, you need to enter all variations.
Example:
# Adding bottom of your current file /etc/hosts
################# MY LOCAL DOMAINS
127.0.0.1 local.com admin.local.com
127.0.0.1 domain1.com
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;40;37m | |
| [1;36m this one [0mgoes out to all the[1;30m {[37mcr[30m,[37msl[30m,[37mh[30m}[37mackers[30m... [0m[9C[1mhttp[33ms[0m://[1;36mdefcon[0m.[1;34morg | |
| [0m [30m [1;34m.[37mββββββββ[34m [0;34m [1m.[37mββββββββββ[34m [0;34m [1m.[37mββββββββββ[0m [34m [1m.[37mββββββββββ[34m [0;34m [1m.[37mββββββββββ[34m [0;34m [1m.[37mββββββ βββ | |
| [0m [1;34m:[37m [0;47;34mβ [0;1mββββββββ[34m :[0;34m [0;1;47mβ [0;1mββββββββ[0;34m [1m:[37m [0;47;34mβ [0;1mββββββββ[0m [1;34m:[37m [0;47;34mβ [0;1mββββββββ[0;34m [1m:[37m [0;47;34mβ [0;1mββββββββ[0;34m [1m:[37m [0;47;34mβ [0;1mββββββββ | |
| [0m [1;34m:[37m [0;47;34mβββ[0;1mβ βββββ [34m:[0;34m [0;1;47mβββ[0;1mββββββ [34m:[37m [0;47;34mβββ[0;1mβββββ[0;30m [1;37m [0m [1;34m:[37m [0;47;34mβββ[0;1mββββ ββ[0;34m [1m:[37m [0;47;34mβββ[0;1mβββββββ [34m:[37m [0;47;34mβββ[0;1mβββββββ | |
| [0m [1;34m:[37m [0;47;34mββββ[0;1;34m [0;30m [1;37mβ[0;5;47;30m [0;1mβ [34m:[37m [0;47;34mββββ |