1. Windows API: WriteFile windows
  2. This is the start of me learning the windows API do do various diffrent tasks. #include <windows.h> #include <tchar.h> #include <stdio.h> int main() { HANDLE myFile; myFile = CreateFile(_T("C://Users//rob//Dropbox//testfile.txt"), GENERIC_READ | GENERIC_WRITE, 0, »

  3. Windows API: CreateFile windows
  4. #include <windows.h> #include <tchar.h> #include <stdio.h> int main(int argc, char* argv[]) { HANDLE myFile; //create a handle which is a pointer named myFile myFile = CreateFile(_T("C://Users//rob//Dropbox//testfile.txt"), GENERIC_READ | GENERIC_WRITE, //DesiredAccess 0, //sharemode »

  5. Start Program on Port
  6. while true; do nc -nlvp 1337 -e ./program ; done connect to it: nc -nvv 127.0.0.1 1337 »

  7. Analyzing Malicious Windows Programs Malware reverseengineering
  8. Windows API The way to interact with Windows Implemented with DLLs (Dynamic Link Library) kernel32.dll and ntdll.dll interact with kernel Processes A resource container Each process has its own virtual address space threads Bookkeeping information Threads Scheduled and executed by the OS A process contains one or more »

  9. How to start a simple HTTP Server to quickly transfer files ctf
  10. Browse to the directory of the files you wish to transfer python -m SimpleHTTPServer 8000 or import SimpleHTTPServer import SocketServer PORT = 8000 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", PORT), Handler) print "serving at port", PORT httpd.serve_forever() »