[BONUS S1][GUIDE] How to share remote configuration in OB2 (API) and install on vps with mobaxterm

Hello today I will show how to make your own (api) with Openbullet 2 using a debian VPS.

First step :
apt-get update

Install Dotnet 6:

sudo apt install wget
wget https://dot.net/v1/dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh -c 6.0

you need to add the path this is for MY case
export PATH=$PATH:home/debian/.dotnet

Need to install git now :
sudo apt-get install git-all

Second step when your VPS is Ready:

Compiling your own build

Install git from Git - Downloads .
Install the .NET 6 SDK (not runtime) from Download .NET 6.0 (Linux, macOS, and Windows)
Open your favourite terminal (or git bash) and run

git clone https://github.com/openbullet/OpenBullet2/

now cd into the folder where OpenBullet2.csproj resides

cd OpenBullet2/OpenBullet2

and compile OB2 using

dotnet publish --configuration Release

you can then navigate to the publish folder and start OB2 with the usual command

cd bin/Release/net6.0/publish
dotnet ./OpenBullet2.dll

For Screen commands :
Screen :
(CTRL A,D detach the screen)
screen -r to resume
after close ssh session

Optional if you want to generate a good API Key : Release v0.0.2 · openbullet/openbullet-adminpanel · GitHub

WannaCry

7 Likes