roberson-io / verademo-dotnet

A port of the Verademo Blab-A-Gag application into .NET.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VeraDemo.NET - Blab-a-Gag

About

Blab-a-Gag is a fairly simple forum type application which allows:

  • users to post a one-liner joke
  • users to follow the jokes of other users or not (listen or ignore)
  • users to comment on other users messages (heckle)

URLs

/reset will reset the data in the database with a load of:

  • users
  • jokes
  • heckles

/feed shows the jokes/heckles that are relevant to the current user.

/blabbers shows a list of all other users and allows the current user to listen or ignore.

/profile allows the current user to modify their profile.

/login allows you to log in to your account

/register allows you to create a new user account

/tools shows a tools page that shows a fortune or lets you ping a host.

Configure

Database credentials are held in web.config Log4Net information is helped in log4net.config

Database

A blank database is provided in App_Data\VeraDemoNet.mdf - the application will connect to this by default. If you want to change it, the connection string is in web.config as BlabberDB

Run

Visual Studio 2017 is required to build the application. Publishing generates the appropriate files to deploy.

Alternatively, run from inside Visual Studio.

Open /reset in your browser and follow the instructions to prep the database

Login with your username/password as defined in `ResetController.cs :: _veraUsers

AWS/Azure Deployment

Azure

The deployment from Visual Studio recognises the connection string and will update to point to the Azure SQL Server instance

AWS

Install the AWS Toolkit for VS 2017 - https://aws.amazon.com/visualstudio/

Exploitation Demos

See the docs folder

About

A port of the Verademo Blab-A-Gag application into .NET.

License:MIT License


Languages

Language:C# 57.7%Language:HTML 25.7%Language:CSS 14.7%Language:TSQL 1.4%Language:JavaScript 0.4%Language:ASP 0.1%