repo_id
string
size
int64
file_path
string
content
string
OpenWireSec/metasploit
1,431
external/source/meterpreter/source/bionic/libdl/arch-sh/soend.S
/* * Copyright (C) 2009 The Android Open Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
2,466
external/source/meterpreter/source/bionic/libdl/arch-sh/sobegin.S
/* * Copyright (C) 2009 The Android Open Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
1,543
external/source/meterpreter/source/bionic/libm/ia64/s_fmal.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,545
external/source/meterpreter/source/bionic/libm/ia64/s_fmaf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,543
external/source/meterpreter/source/bionic/libm/ia64/s_fma.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,533
external/source/meterpreter/source/bionic/libm/sparc64/e_sqrt.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,536
external/source/meterpreter/source/bionic/libm/sparc64/e_sqrtf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,526
external/source/meterpreter/source/bionic/libm/amd64/e_sqrt.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,641
external/source/meterpreter/source/bionic/libm/amd64/s_scalbn.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,560
external/source/meterpreter/source/bionic/libm/amd64/s_lrint.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,562
external/source/meterpreter/source/bionic/libm/amd64/s_lrintf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
2,205
external/source/meterpreter/source/bionic/libm/amd64/s_remquo.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,697
external/source/meterpreter/source/bionic/libm/amd64/s_scalbnf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,527
external/source/meterpreter/source/bionic/libm/amd64/e_sqrtf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
2,204
external/source/meterpreter/source/bionic/libm/amd64/s_remquof.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
2,235
external/source/meterpreter/source/bionic/libm/i387/s_floor.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,981
external/source/meterpreter/source/bionic/libm/i387/e_remainder.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,916
external/source/meterpreter/source/bionic/libm/i387/e_sqrt.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
2,082
external/source/meterpreter/source/bionic/libm/i387/s_tan.S
/* * Copyright (c) 1994 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
1,949
external/source/meterpreter/source/bionic/libm/i387/s_scalbn.S
/* * Copyright (c) 1994 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
3,161
external/source/meterpreter/source/bionic/libm/i387/e_exp.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,926
external/source/meterpreter/source/bionic/libm/i387/e_log10.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,922
external/source/meterpreter/source/bionic/libm/i387/e_log.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
2,003
external/source/meterpreter/source/bionic/libm/i387/s_finite.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
2,056
external/source/meterpreter/source/bionic/libm/i387/s_cos.S
/* * Copyright (c) 1994 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
1,561
external/source/meterpreter/source/bionic/libm/i387/s_lrint.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,575
external/source/meterpreter/source/bionic/libm/i387/s_llrintf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,920
external/source/meterpreter/source/bionic/libm/i387/s_rint.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,575
external/source/meterpreter/source/bionic/libm/i387/s_llrint.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,927
external/source/meterpreter/source/bionic/libm/i387/s_logb.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,970
external/source/meterpreter/source/bionic/libm/i387/e_fmod.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
1,561
external/source/meterpreter/source/bionic/libm/i387/s_lrintf.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
2,130
external/source/meterpreter/source/bionic/libm/i387/s_remquo.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
1,944
external/source/meterpreter/source/bionic/libm/i387/s_significand.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
2,055
external/source/meterpreter/source/bionic/libm/i387/s_sin.S
/* * Copyright (c) 1994 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
1,944
external/source/meterpreter/source/bionic/libm/i387/e_scalb.S
/* * Copyright (c) 1994 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
OpenWireSec/metasploit
2,233
external/source/meterpreter/source/bionic/libm/i387/s_ceil.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
2,037
external/source/meterpreter/source/bionic/libm/i387/s_copysign.S
/* * Copyright (c) 1993,94 Winning Strategies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
OpenWireSec/metasploit
2,130
external/source/meterpreter/source/bionic/libm/i387/s_remquof.S
/*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
OpenWireSec/metasploit
2,177
external/source/meterpreter/source/bionic/libm/alpha/s_copysignf.S
/* $FreeBSD: src/lib/msun/alpha/s_copysignf.S,v 1.2 1999/08/28 00:06:08 peter Exp $ */ /* From: NetBSD: s_copysignf.S,v 1.3 1997/07/30 23:58:41 jtc Exp */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by J....
OpenWireSec/metasploit
2,174
external/source/meterpreter/source/bionic/libm/alpha/s_copysign.S
/* $FreeBSD: src/lib/msun/alpha/s_copysign.S,v 1.2 1999/08/28 00:06:07 peter Exp $ */ /* From: NetBSD: s_copysign.S,v 1.3 1997/07/30 23:58:38 jtc Exp */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by J.T....
OpenWireSec/metasploit
30,470
external/source/meterpreter/source/server/rtld/syscall.S
/* * PKS, copied from bionic sysall.S code.. * * Changes: save/restore/use ebp for mmap() syscall. * don't restore eax on syscall return :~( */ /* * Generic syscall call. * Upon entry * %eax: system call number * %ebx: arg0 to system call * %ecx: arg.. * %edx: arg.. * %esi: arg.. * %edi: arg.. ...
OpenWireSec/metasploit
1,063
external/source/shellcode/solaris/sparc/single_reverse_tcp.s
## # # Name: single_reverse_tcp # Platforms: Solaris # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1666 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package....
OpenWireSec/metasploit
1,077
external/source/shellcode/solaris/sparc/single_findsock.s
## # # Name: single_findsock # Platforms: Solaris # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1991 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package. # ...
OpenWireSec/metasploit
1,233
external/source/shellcode/solaris/sparc/single_bind_tcp.s
## # # Name: single_bind_tcp # Platforms: Solaris # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1666 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package. # ...
OpenWireSec/metasploit
1,108
external/source/shellcode/linux/sparc/single_reverse_tcp.s
## # # Name: single_reverse_tcp # Platforms: Linux # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1652 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package. #...
OpenWireSec/metasploit
1,120
external/source/shellcode/linux/sparc/single_findsock.s
## # # Name: single_findsock # Platforms: Linux # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1991 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package. # # ...
OpenWireSec/metasploit
1,252
external/source/shellcode/linux/sparc/single_bind_tcp.s
## # # Name: single_bind_tcp # Platforms: Linux # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1652 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package. # # ...
OpenWireSec/metasploit
1,116
external/source/shellcode/bsd/sparc/single_bind_tcp.s
## # # Name: single_bind_tcp # Platforms: *BSD # Authors: vlad902 <vlad902 [at] gmail.com> # Version: $Revision: 1652 $ # License: # # This file is part of the Metasploit Exploit Framework # and is subject to the same licenses and copyrights as # the rest of this package. # # D...
OpenWireSec/metasploit
13,203
data/templates/src/pe/exe/template.s
.section .data .globl _code _code: xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ecx xorl %ecx,%ec...
OpenWireSec/metasploit
1,369
data/templates/src/elf/exe/elf_x86_template.s
; build with: ; nasm elf_x86_template.s -f bin -o template_x86_linux.bin BITS 32 org 0x08048000 ehdr: ; Elf32_Ehdr db 0x7F, "ELF", 1, 1, 1, 0 ; e_ident db 0, 0, 0, 0, 0, 0, 0, 0 ; dw 2 ; e_type = ET_EXEC for an executable dw 3 ...
OpenWireSec/metasploit
1,369
data/templates/src/elf/exe/elf_x86_solaris_template.s
; build with: ; nasm elf_x86_template.s -f bin -o template_x86_linux.bin BITS 32 org 0x08048000 ehdr: ; Elf32_Ehdr db 0x7F, "ELF", 1, 1, 1, 6 ; e_ident db 1, 0, 0, 0, 0, 0, 0, 0 ; dw 2 ; e_type = ET_EXEC for an executable dw 3 ...
OpenWireSec/metasploit
1,369
data/templates/src/elf/exe/elf_x86_bsd_template.s
; build with: ; nasm elf_x86_template.s -f bin -o template_x86_linux.bin BITS 32 org 0x08048000 ehdr: ; Elf32_Ehdr db 0x7F, "ELF", 1, 1, 1, 9 ; e_ident db 0, 0, 0, 0, 0, 0, 0, 0 ; dw 2 ; e_type = ET_EXEC for an executable dw 3 ...
OpenWireSec/metasploit
1,370
data/templates/src/elf/exe/elf_mipsle_template.s
; build with: ; nasm elf_mipsle_template.s -f bin -o template_mipsle_linux.bin BITS 32 org 0x00400000 ehdr: ; Elf32_Ehdr db 0x7F, "ELF", 1, 1, 1, 0 ; e_ident db 0, 0, 0, 0, 0, 0, 0, 0 ; dw 2 ; e_type = ET_EXEC for an executable dw 0...
OpenWireSec/metasploit
1,363
data/templates/src/elf/exe/elf_armle_template.s
; build with: ; nasm elf_armle_template.s -f bin -o template_armle_linux.bin BITS 32 org 0x8000 ehdr: ; Elf32_Ehdr db 0x7F, "ELF", 1, 1, 1, 0 ; e_ident db 0, 0, 0, 0, 0, 0, 0, 0 ; dw 2 ; e_type = ET_EXEC for an executable dw 0x28 ...
OSH-2025/oooooS
7,122
src/nano-kernel/libcpu/context_gcc.S
/* * Copyright (c) 2006-2022, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2009-10-11 Bernard first version * 2012-01-01 aozima support context switch load/store FPU register. * 2013-06-18 aozima add resto...
osirislab/Shellcode
1,897
64shellEmulator/shell64.s
;;; Evan Jensen 32bit shell emulating shellcode ;;; ;;; RDI, RSI, RDX, RCX, R8, and R9 then stack %include "short64.s" %include "syscall.s" %define BUFFERLEN 0x1f8 global main main: do_fork: push byte fork pop rax SYSTEM_CALL test rax,rax jz child parent: push wait4 pop rax xor rdi,rdi ;pid xor r...
osirislab/Shellcode
2,031
include/util.s
%define htonq(x) (\ (((x) & 0x00000000000000ff) << 56) | \ (((x) & 0x000000000000ff00) << 40) | \ (((x) & 0x0000000000ff0000) << 24) | \ (((x) & 0x00000000ff000000) << 8) | \ (((x) & 0x000000ff00000000) >> 8) | \ (((x) & 0x0000ff0000000000) >> 24) | \ (((x) & 0x00ff000000000000) >> 40) | \...
osirislab/Shellcode
7,082
include/short64.s
BITS 64 %define read 0 %define write 1 %define open 2 %define close 3 %define stat 4 %define fstat 5 %define lstat 6 %define poll 7 %define lseek 8 %define mmap 9 %define mprotect 10 %define munmap 11 %define brk 12 %define rt_sigaction 13 %define rt_sigprocmask 14 %define rt_...
osirislab/Shellcode
4,738
include/elf.s
%define EI_NIDENT 16 ;;; ElfN_Ehdr %define e_ident 0 %define e_type 16 %define e_machine 18 %define e_version 20 %define e_entry 24 %define e_phoff 28 %define e_shoff 32 %define e_flags 36 %define e_ehsize 40 %define e_phentsize 42 %defi...
osirislab/Shellcode
7,819
include/short32.s
BITS 32 %define restart_syscall 0 %define exit 1 %define fork 2 %define read 3 %define write 4 %define open 5 %define close 6 %define waitpid 7 %define creat 8 %define link 9 %define unlink 10 %define execve 11 %define chdir 12 %define time 13 %define mknod 14 %...
osirislab/Shellcode
1,207
reverse64IPv4/r64.s
;; Evan Jensen (wont) 012014 ;; 64bit Connect back shellcode ;; Handy One liner for IP ;; ''.join(['%02x'%int(x)for x in'1.1.1.1'.split('.')][::-1]) ;; port is littleEndian %include "short64.s" %include "syscall.s" %include "util.s" %define IP ip(127,0,0,1) %define PORT htons(7788) ;port 7788 Little Endian...
osirislab/Shellcode
1,581
64bitSocketReuse/shell64.s
;; Evan Jensen 32bit socket reuse shellcode ;; Paolo Soto ;; Mon Mar 4 12:03:49 EST 2013 ;; EBX, ECX, EDX, ??? then stack - but we only need 3 ;; read = 3, dup2 = 63, execve = 11 %include "short64.s" %include "syscall.s" %define MAGIC dword 0xcafef00d BITS 64 global main %ifdef ELF section .mytext progbit...
osirislab/Shellcode
1,642
32bitPutFileOnDisk/shell32.s
;; Evan Jensen 32bit Put a file in /tmp and execve it shellcode ;; Paolo Soto ;; Sat Mar 9 05:39:07 EST 2013 ;; %eax = syscall number ;; args = %ebx, %ecx, %edx, %esi, %edi, %ebp (last can be ptr to > 6) BITS 32 global main %include "short32.s" %define openflags 0x42 ; O_CREAT|O_RDWR %define size 0xffff ...
osirislab/Shellcode
3,736
32bitStager/mapper_payload.s
;; Evan Jensen ;; Translation of mapper.c by kiwiz ;;; %eax = syscall number ;;; args = %ebx, %ecx, %edx, %esi, %edi, %ebp (last can be ptr to > 6) BITS 32 global main %include "../include/short32.s" %include "../include/elf.s" %define PROT_READ 0x4 %define PROT_WRITE 0x2 %define PROT_EXEC ...
osirislab/Shellcode
1,589
reverse32IPv4/r32.s
;; Evan Jensen (wont) 021813 ;; Connect back shellcode ;; Handy One liner for IP ;; ''.join(['%02x'%int(x)for x in'1.1.1.1'.split('.')][::-1]) ;; port is littleEndian %include "short32.s" %include "syscall.s" %include "util.s" %define IP dword ip(127,0,0,1) %define PORT word htons(7788) %define A...
osirislab/Shellcode
1,511
32shellEmulator/shell32.s
;; Evan Jensen 32bit shell emulating shellcode ;; BITS 32 %include "short32.s" %include "syscall.s" %define BUFFERLEN 0x1ff global main main: get_input: xor eax,eax cdq mov dx, BUFFERLEN mov ecx,esp xor ebx,ebx SYSTEM_CALL(read) mov ebp,eax test eax,eax %ifdef PLAYFAIR jz short do_exit ;test if s...
osirislab/Shellcode
1,682
32bitSocketReuse/shell32.s
;; Evan Jensen 32bit socket reuse shellcode ;; Paolo Soto ;; Mon Mar 4 12:03:49 EST 2013 ;; EBX, ECX, EDX, ??? then stack - but we only need 3 ;; read = 3, dup2 = 63, execve = 11 %define MAGIC dword 0xcafef00d BITS 32 global main %ifdef ELF section mytext write exec alloc %endif ;; move the includes down...
osirislab/Shellcode
1,647
64bitPutFileOnDisk/shell64.s
;; Evan Jensen 64bit Put a file in /tmp and execve it shellcode ;; Paolo Soto ;; Sun Mar 10 21:37:35 EDT 2013 ;; %eax = syscall number ;; args = %ebx, %ecx, %edx, %esi, %edi, %ebp (last can be ptr to > 6) ;; args = rdi, rsi, rdx, rcx, r8, r9, then stack BITS 64 global main %include "../include/syscalls64.s"...
osirislab/Shellcode
7,891
include/runtime/gs.s
;; Evan Jensen ;; Finds base of libc ;; 101413 ;; offsets of data structures may be off by as much as 0x30 ;; I'm not sure what is causing the differences BITS 32 global getLibc global gettextload global getTLS global getCode global getpieload global getStringIndex global getgotone global getgotzero g...
orchain/go-ethereum
7,684
crypto/blake2b/blake2b_amd64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build amd64,!gccgo,!appengine #include "textflag.h" DATA ·iv0<>+0x00(SB)/8, $0x6a09e667f3bcc908 DATA ·iv0<>+0x08(SB)/8, $0xbb67ae8584caa73b GLOBL ·iv0<>(S...
orchain/go-ethereum
23,301
crypto/blake2b/blake2bAVX2_amd64.s
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.7,amd64,!gccgo,!appengine #include "textflag.h" DATA ·AVX2_iv0<>+0x00(SB)/8, $0x6a09e667f3bcc908 DATA ·AVX2_iv0<>+0x08(SB)/8, $0xbb67ae8584caa73...
orchain/go-ethereum
31,125
crypto/bls12381/arithmetic_x86.s
// +build amd64,blsasm amd64,blsadx #include "textflag.h" // addition w/ modular reduction // a = (a + b) % p TEXT ·addAssign(SB), NOSPLIT, $0-16 // | MOVQ a+0(FP), DI MOVQ b+8(FP), SI // | MOVQ (DI), R8 MOVQ 8(DI), R9 MOVQ 16(DI), R10 MOVQ 24(DI), R11 MOVQ 32(DI), R12 MOVQ 40(DI), R13 // | ADDQ (SI), R...
orchain/go-ethereum
28,453
crypto/secp256k1/libsecp256k1/src/asm/field_10x26_arm.s
@ vim: set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab syntax=armasm: /********************************************************************** * Copyright (c) 2014 Wladimir J. van der Laan * * Distributed under the MIT software license, see the accompanying * * file COPYING or http://www...
orchain/go-ethereum
2,193
crypto/bn256/cloudflare/gfp_amd64.s
// +build amd64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVQ a0, 0+r \ MOVQ a1, 8+r \ MOVQ a2, 16+r \ MOVQ a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVQ 0+r, a0 \ MOVQ 8+r, a1 \ MOVQ 16+r, a2 \ MOVQ 24+r, a3 #define gfpCarry(a0,a1,a2,a3,a4, b0,b1,b2,b3,b4) \ \ // b = a-p MOVQ a0, b0 \ MOVQ a...
orchain/go-ethereum
1,870
crypto/bn256/cloudflare/gfp_arm64.s
// +build arm64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVD a0, 0+r \ MOVD a1, 8+r \ MOVD a2, 16+r \ MOVD a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVD 0+r, a0 \ MOVD 8+r, a1 \ MOVD 16+r, a2 \ MOVD 24+r, a3 #define loadModulus(p0,p1,p2,p3) \ MOVD ·p2+0(SB), p0 \ MOVD ·p2+8(SB), p1 \ MOVD ·p...
OSUSecLab/TxSpector
28,456
go-ethereum/crypto/secp256k1/libsecp256k1/src/asm/field_10x26_arm.s
@ vim: set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab syntax=armasm: /********************************************************************** * Copyright (c) 2014 Wladimir J. van der Laan * * Distributed under the MIT software license, see the accompanying * * file COPYING or http://www...
OSUSecLab/TxSpector
2,200
go-ethereum/crypto/bn256/cloudflare/gfp_amd64.s
// +build amd64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVQ a0, 0+r \ MOVQ a1, 8+r \ MOVQ a2, 16+r \ MOVQ a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVQ 0+r, a0 \ MOVQ 8+r, a1 \ MOVQ 16+r, a2 \ MOVQ 24+r, a3 #define gfpCarry(a0,a1,a2,a3,a4, b0,b1,b2,b3,b4) \ \ // b = a-p MOVQ a0, b0 \ MOVQ a...
OSUSecLab/TxSpector
1,870
go-ethereum/crypto/bn256/cloudflare/gfp_arm64.s
// +build arm64,!generic #define storeBlock(a0,a1,a2,a3, r) \ MOVD a0, 0+r \ MOVD a1, 8+r \ MOVD a2, 16+r \ MOVD a3, 24+r #define loadBlock(r, a0,a1,a2,a3) \ MOVD 0+r, a0 \ MOVD 8+r, a1 \ MOVD 16+r, a2 \ MOVD 24+r, a3 #define loadModulus(p0,p1,p2,p3) \ MOVD ·p2+0(SB), p0 \ MOVD ·p2+8(SB), p1 \ MOVD ·p...
ourfavoritefruits/yuzu
9,323
src/core/arm/nce/arm_nce.s
/* SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project */ /* SPDX-License-Identifier: GPL-2.0-or-later */ #include "core/arm/nce/arm_nce_asm_definitions.h" #define LOAD_IMMEDIATE_32(reg, val) \ mov reg, #(((val) >> 0x00) & 0xFFFF); \ movk reg, #(((val) >> 0x10) & ...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
10,151
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/portasm.S
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
11,706
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/ARM_CA53/portASM.S
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Copyright (C) 2014 - 2020 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Sof...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
6,362
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/ARM_CA53/port_asm_vectors.S
/****************************************************************************** * * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Copyright (C) 2014 - 2020 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this softwa...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
10,151
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/MicroBlazeV9/portasm.S
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
8,861
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/ARM_CA9/portASM.S
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
4,010
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/ARM_CA9/port_asm_vectors.S
/****************************************************************************** * * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Copyright (C) 2009-2020 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
7,431
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/ARM_CR5/portASM.S
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
2,873
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/freertos10_xilinx_v1_6/src/Source/portable/GCC/ARM_CR5/port_asm_vectors.S
/* * FreeRTOS Kernel V10.3.0 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Copyright (C) 2014 - 2020 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Sof...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
1,044
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_disable_icache.S
/****************************************************************************** * Copyright (c) 2004 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
2,198
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_init_dcache_range.S
/****************************************************************************** * Copyright (c) 2006 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
1,428
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_invalidate_cache_ext.S
/****************************************************************************** * Copyright (c) 2008 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
3,488
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_invalidate_dcache_range.S
/****************************************************************************** * Copyright (c) 2008 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
1,555
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_disable_interrupts.S
/****************************************************************************** * Copyright (c) 2004 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
5,784
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_scrub.S
/****************************************************************************** * Copyright (c) 2012 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
1,075
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_enable_dcache.S
/****************************************************************************** * Copyright (c) 2004 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
3,540
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_flush_dcache_range.S
/****************************************************************************** * Copyright (c) 2008 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
2,200
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_init_icache_range.S
/****************************************************************************** * Copyright (c) 2006 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
2,385
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_invalidate_icache.S
/****************************************************************************** * Copyright (c) 2008 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
1,575
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_enable_interrupts.S
/****************************************************************************** * Copyright (c) 2004 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...
PacktPublishing/Architecting-High-Performance-Embedded-Systems
2,550
Chapter05/src/oscilloscope-software/design_1_wrapper/microblaze_0/domain_microblaze_0/bsp/microblaze_0/libsrc/standalone_v7_2/src/microblaze_update_dcache.S
/****************************************************************************** * Copyright (c) 2006 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*****************************************************************...