Giter Site home page Giter Site logo

dimopouloselias / c-wlib Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 408 KB

c-wlib is intended primarily for building penetration testing tools in C++, without having to deal with sockets, but it can also be used for a vast variaty of clients programms.

C++ 100.00%

c-wlib's Introduction

c-wlib

c-wlib is intended primarily for building penetration testing tools in C++, without having to deal with sockets, but it can also be used for a vast variaty o clients programms.

No need for "c stytle" programming with char pointers. The library's functions are using strings and integers, for sending and receiving datas. You create your object, based on the communication you want to accomplish. You can create a more generic object, with TCP class, or a more specific with HTTP object.

Example member functions, from HTTP class:

HTTP(const Target* target, const int sec_timeout, const bool debug = true, const int verbose_level=3);

//setters

virtual const int set_Accept_Encoding(const string Accept_Encoding);
virtual const int set_Accept_Language(const string Accept_Language);
virtual const int set_User_Agent(const string User_Agent);
virtual const int set_Cookie(const string Cookie);
virtual const int set_Content_Length(const string Content_Length);
virtual const int set_Content_Type(const string Content_Type);
virtual const int set_Host(const string Host);

//methods

virtual const string POST(const string relativeURL, const string data);
virtual const string GET(const string relativeURL);
virtual const string OPTIONS(const string relativeURL);
virtual const string HEAD(const string relativeURL);

Target is a class for creating your targets. Constructor for Target is:

Target(const string target, const int port, const bool debug = true, const int verbose_level=3);

c-wlib's People

Contributors

dimopouloselias avatar

Watchers

James Cloos avatar  avatar

Forkers

amesianx supjerk

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.