Skip to content

Python script that shows useful information about the server it runs on.

Notifications You must be signed in to change notification settings

sturzamihai/server-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Server info

Basic script that shows useful information about the server it runs on.

Usage

Basic usage

Run python info.py in the target Linux console.
This should output something like this

 -- Permissions
[*] SUDO: *yes/no*
 -- Machine Info
[*] OS: *OS*
[*] Distribution: *Distro*
[*] CPU: *number of cores*x *processor*
[*] RAM: *number* kB
 -- Connection
[*] COUNTRY: *country code*
[*] CITY: *city*
[*] ORG: *internet provider*

Help command

Run python info.py -h in the target Linux console.
This should output something like this

Optional arguments:

-h, --help: Shows this dialog and kills the program.
-ip: Shows the machine's public IP in the 'Connection' section.

Show machine's IP

Run python info.py -ip in the target Linux console.
This should ouput something like this

 -- Permissions
[*] SUDO: *yes/no*
 -- Machine Info
[*] OS: *OS*
[*] Distribution: *Distro*
[*] CPU: *number of cores*x *processor*
[*] RAM: *number* kB
 -- Connection
[*] IP: *ip*
[*] COUNTRY: *country code*
[*] CITY: *city*
[*] ORG: *internet provider*

About

Python script that shows useful information about the server it runs on.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages