1 | 1 | | #!/usr/bin/env python3 |
2 | | - | # server for hosting exploit search |
| 2 | + | ############################################################################################################### |
| 3 | + | ## [Title]: privcheckerserver.py -- a Linux Privilege Escalation Check Script Server |
| 4 | + | ## [Author]: Mike Merrill (linted) -- https://github.com/linted |
| 5 | + | ##------------------------------------------------------------------------------------------------------------- |
| 6 | + | ## [Details]: |
| 7 | + | ## This script is intended to be executed remotely to enumerate search for common privilege escalation |
| 8 | + | ## exploits found in exploit-db's database |
| 9 | + | ##------------------------------------------------------------------------------------------------------------- |
| 10 | + | ## [Warning]: |
| 11 | + | ## This script comes as-is with no promise of functionality or accuracy. |
| 12 | + | ##------------------------------------------------------------------------------------------------------------- |
| 13 | + | ## [Modification, Distribution, and Attribution]: |
| 14 | + | ## Permission is herby granted, free of charge, to any person obtaining a copy of this software and the |
| 15 | + | ## associated documentation files (the "Software"), to use, copy, modify, merge, publish, distribute, and/or |
| 16 | + | ## sublicense copies of the Software, and to permit persons to whom the Software is furnished to do so, subject |
| 17 | + | ## to the following conditions: |
| 18 | + | ## |
| 19 | + | ## The software must maintain original author attribution and may not be sold |
| 20 | + | ## or incorporated into any commercial offering. |
| 21 | + | ## |
| 22 | + | ## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ## IMPLIED, INCLUDING BUT NOT |
| 23 | + | ## LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO |
| 24 | + | ## EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER |
| 25 | + | ## IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
| 26 | + | ## USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 27 | + | ############################################################################################################### |
3 | 28 | | |
4 | 29 | | try: |
5 | 30 | | from exploitdb import exploitdb |
| skipped 53 lines |