- Install
- Creating a database
- Creating an user
- Assigning rights
- Creating a table
- Inserting data into a table
- Querying a table
This file contains 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
meta: | |
id: rsi_manifest | |
title: Roberts Space Industries Launcher Manifest file | |
application: RSI Launcher v1.2.1.0 | |
file-extension: | |
- manifest | |
encoding: ascii | |
endian: le | |
types: | |
header: |
This file contains 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 idaapi import * | |
from idautils import * | |
from idc import * | |
from ida_funcs import * | |
from miasm.analysis.binary import Container | |
from miasm.analysis.machine import Machine | |
from miasm.core.locationdb import LocationDB | |
from miasm.ir.symbexec import SymbolicExecutionEngine | |
from miasm.core.bin_stream_ida import bin_stream_ida |
This file contains 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 <assert.h> | |
#include <stddef.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// LIFO Singly Linked List Windows API Clone for drafting and testing purpose | |
// Not taking account of memory alignment constraints of the original API | |
// |
This file contains 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
import 'dart:core'; | |
import 'dart:ffi'; | |
final _libc = DynamicLibrary.open('libc.so.6'); | |
typedef abs_t = Int32 Function(Int32); | |
typedef abs_d = int Function(int); | |
final _abs = _libc.lookupFunction<abs_t, abs_d>('abs'); |
This file contains 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
extension IsSorted<T extends Comparable> on List<T> { | |
bool get isSorted { | |
if (this.length <= 1) return true; | |
for (var i = 1; i < this.length; i++) { | |
if (this[i].compareTo(this[i - 1]) < 0) return false; | |
} | |
return true; | |
} |
This file contains 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
import 'dart:collection'; | |
class A { | |
A(); | |
} | |
class B extends A { | |
B() : super(); | |
} |
This file contains 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
''' | |
sub_180001F5C+34 mov rdx, 0C9A201E140208649h | |
sub_180001F5C+3E mov rcx, 213228A830CCCFFEh | |
sub_180001F5C+48 mov qword ptr [rbp+var_10], rdx | |
sub_180001F5C+4C mov qword ptr [rbp+var_10+8], rcx | |
sub_180001F5C+50 mov rax, 5068B50F657EF22h ; <- encrypted name | |
sub_180001F5C+5A movups xmm2, [rbp+var_10] | |
sub_180001F5C+5E mov qword ptr [rbp+ModuleName], rax | |
sub_180001F5C+62 mov r14, 5638B3DF636EF65h ; <- xor key | |
sub_180001F5C+6C mov qword ptr [rbp+var_40+8], rcx |
This file contains 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
import 'dart:ffi'; | |
// library | |
final DynamicLibrary _kernel32 = DynamicLibrary.open('kernel32.dll'); | |
typedef HeapAllocNative_t = Pointer Function(Pointer, Uint32, IntPtr); | |
typedef HeapAlloc_d = Pointer Function(Pointer, int, int); | |
final HeapAlloc_d pfnHeapAlloc = _kernel32.lookupFunction<HeapAllocNative_t, HeapAlloc_d>('HeapAlloc'); | |
typedef HeapFree_t = Int32 Function(Pointer heap, Uint32 flags, Pointer memory); |
This file contains 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 idaapi import * | |
from idautils import * | |
from idc import * | |
from ida_typeinf import * | |
import re | |
IS64 = get_inf_structure().is_64bit() | |
print('64bit mode' if IS64 else '32bit mode') | |
sub_regex = re.compile(r'sub_[0-9A-F]+') |
NewerOlder