Skip to content

Instantly share code, notes, and snippets.

@thequux
Created November 27, 2014 01:53
Show Gist options
  • Save thequux/382c22ac86f983124116 to your computer and use it in GitHub Desktop.
Save thequux/382c22ac86f983124116 to your computer and use it in GitHub Desktop.
POC||GTFO Quick Setup
{
"device_name": insert_your_hostname_here,
"listening_port" : 0, // 0 - randomize port
/* storage_path dir contains auxilliary app files
if no storage_path field: .sync dir created in the directory
where binary is located.
otherwise user-defined directory will be used
*/
//"storage_path" : "",
// uncomment next line if you want to set location of pid file
// "pid_file" : "/var/run/btsync/btsync.pid",
"check_for_updates" : true,
"use_upnp" : false, // use UPnP for port mapping
/* limits in kB/s
* 0 - no limit
*/
"download_limit" : 0,
"upload_limit" : 0,
/* remove "listen" field to disable WebUI
* remove "login" and "password" fields to disable credentials check
*/
"webui" :
{
/* directory_root path defines where the WebUI Folder browser starts
* (linux only)
*/
// "directory_root" : "/home/user/MySharedFolders/",
// Uncomment the next line to enable the web UI.
//"listen" : "0.0.0.0:8888",
"login" : "admin",
"password" : "password"
},
"shared_folders" :
[
{
"secret" : "BNDOJSFM34QZBJHGVN2WBB45BBPS3NR4G",
"dir" : "/var/www/pocorgtfo",
"use_relay_server" : true,
"use_tracker" : true,
"use_dht" : true,
"search_lan" : false,
"use_sync_trash" : false,
"overwrite_changes" : true,
"known_hosts" : [ ]
}
]
// Advanced preferences can be added to config file.
// Info is available in BitTorrent Sync User Guide.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment