johndoe
The intention of this application is to test whether your environment will download any package from PyPi. PyPi allows anybody (even John Doe) to upload packages to the internet, but a companies infrastructure should have suitable measures in place so that only trusted packages are downloaded.
The package tries to find some interesting data on your machine and prints them to the console. If this was a genuinely malicious program, it could be sending the information to an unsavoury destination.
Hopefully the app highlights some flaws in processes, or at least confirms their usefulness.
Usage
from johndoe import findinfo
from pprint import pprint
hostname = findinfo.findHostName()
domainname = findinfo.getDomainName()
cpu_percent = findinfo.getCpu()
user = findinfo.getUser()
gpinfo = findinfo.getGroupPolicyInfo()
print("hostname is {}".format(hostname))
print("domain name is {}".format(domainname))
print("cpu percentaage is {}".format(cpu_percent))
print("user is {}".format(user))
pprint("group policy info is {}".format(gpinfo))
Release files for johndoe 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| johndoe-0.0.1.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| johndoe-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / johndoe-0.0.1.tar.gz
| Download URL | johndoe-0.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b79d45fc6728286952ab5c4c5e49da559d6a006599229b71d4799123c17fb96
|
|
BLAKE2b-256 checksum How to use checksums |
6dbe84fd30e13ad5a5e47907f2ba121174fa64d8bf30cb5bd291c5eb77137ef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / johndoe-0.0.1-py3-none-any.whl
| Download URL | johndoe-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e7ea7ea5f8fbb5a43230e836a5a4f7cb66366edfc496620cd8b059944ebab2f
|
|
BLAKE2b-256 checksum How to use checksums |
cb7c957f251f8fa342226ea2b3c7e7629e4b304fde7d6e7f05fc8899c71c08fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|