Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pilebones/backdoorcppcrossplateform
A C++ socket provider (cross plateform). Main goal : "pilebones/backdoorBash" cross cross-plateform with C++
https://github.com/pilebones/backdoorcppcrossplateform
Last synced: 17 days ago
JSON representation
A C++ socket provider (cross plateform). Main goal : "pilebones/backdoorBash" cross cross-plateform with C++
- Host: GitHub
- URL: https://github.com/pilebones/backdoorcppcrossplateform
- Owner: pilebones
- Created: 2015-09-07T21:13:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-10T13:02:31.000Z (almost 9 years ago)
- Last Synced: 2023-02-27T08:05:31.328Z (almost 2 years ago)
- Language: C++
- Size: 48.8 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backdoor C++ (Cross-Plateform)
_/!\ Work in progress, not a stable release /!\_
##Main goal
A fork of my own project named : "pilebones/backdoorBash" (see: https://github.com/pilebones/backdoorBash) but instead of using Bash as programming language (Unix-like only) this new one will work on Windows too by using a C++ API (cross-plateform) developed from scratch (as much as possible).
##Requirements
- CMake
- Make
- Boost C++ Library###Windows
- Download and install "MinGW" with gcc compiler (see: http://www.mingw.org/wiki/howto_install_the_mingw_gcc_compiler_suite)
- Download and install CMake (see:
CMake : https://cmake.org/download/)
- Download and install "Boost C++ library" >= v1.59.X (see: http://www.boost.org/users/download/)
- After Boost C++ library installation : Build library for MinGW like below (see: http://www.boost.org/doc/libs/1_59_0/more/getting_started/unix-variants.html)
```bash
cd C:\local\boost_1_59_0
bootstrap.bat mingw
b2.exe install toolset=gcc
```###Linux
```bash
# Archlinux:
pacman -S boost-libs boost
# Debian/Ubuntu :
(sudo) apt-get install libboost-dev
```##Compilation
```bash
git clone https://github.com/pilebones/backdoorCppCrossPlateform.git
cd backdoorCppCrossPlateform
```###Windows
```bash
cmake -G "MinGW Makefiles" .
make
bin\main.exe -h
```###Linux
```bash
cmake . && make
./bin/main.exe -h
```##Usage
###Server mode
```bash
bin/main -p 12345 -H localhost -l
```###Client mode
```bash
bin/main -p 12345 -H localhost
```