* added license
* some fixes
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import json, hashlib, ntpath, os, sys
|
||||
import pbincli.actions, pbincli.sjcl_simple
|
||||
import pbincli.settings
|
||||
import pbincli.actions, pbincli.sjcl_simple, pbincli.settings
|
||||
|
||||
from base64 import b64encode, b64decode
|
||||
from mimetypes import guess_type
|
||||
from pbincli.transports import privatebin
|
||||
from pbincli.utils import PBinCLIException, check_readable, check_writable, json_load_byteified
|
||||
|
||||
|
||||
""" Initialise settings """
|
||||
pbincli.settings.init()
|
||||
|
||||
|
||||
def path_leaf(path):
|
||||
head, tail = ntpath.split(path)
|
||||
return tail or ntpath.basename(head)
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
def init():
|
||||
global server, proxies, useproxy
|
||||
|
||||
"""Edit that variables"""
|
||||
server = "https://privatebin.net/"
|
||||
""" Edit that variables """
|
||||
server = "http://paste.r4sas.i2p/"
|
||||
proxies = {'http': 'http://127.0.0.1:4444'}
|
||||
useproxy = False
|
||||
|
||||
""" True/False """
|
||||
useproxy = True
|
||||
|
||||
""" There is nothing more to do :D """
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import json
|
||||
import os
|
||||
import json, os
|
||||
|
||||
|
||||
class PBinCLIException(Exception):
|
||||
|
||||
Reference in New Issue
Block a user