Giter Club home page Giter Club logo

winapi-tasks's Introduction

DLL memory walker

OSaSPLab3 contains a simple DLL that exports only one function, which searches all the Virtual Address Space of the process for a string and replaces it with another one. OSaSPLab3App uses this dll. ifdef's in main application are used to quickly switch between two types of linking: implicit and excplicit.

Remote DLL memory walker

OSaSPLab3Remote contains a the same DLL as above, but function signature is changed to be the same as PTHREAD_START_ROUTINE (to start a remote thread from this function). OSaSPLab3RemoteApp uses this DLL (only explicit linking with LoadLibrary) for a technique called DLL injection via remote thread. OSaSPLab3TargetApp is the target app for the remote thread and string replacing.

Only basic error management is used, and this code with hardcoded constants is not pretty, but it gives a feeling of how it probably should be.

Lab4: thread pool (and using it to sort text file)

Implementation of a threadpool using this queue for tasks (queue implementation is included in this project too). This pool doesn't use synchronization primitives for every thread (and that decreases resources overhead), and doesn't put "NULL"s in the queue to finish its work (so its a tiny bit faster and less memory consuming).

winapi-tasks's People

Contributors

thenightdrivingavenger avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.