SlideShare a Scribd company logo
1 of 14
Download to read offline
Content
1. Why WebScripts
2. Usages
3. How to use WebScripts
4. WebScripts administration
5. WebScripts files
6. Features
7. Pre-integrated scripts
8. Ressources
9. Screenshot
Why WebScripts
• Useful for SOC, devops and
administrators teams
• Launch CLI scripts from Web
Interface
• Secure
• Security tests
• DAST
• SAST
• Hardening
• Permissions management
• Configure with JSON or INI/CFG files
(preconfigured)
• Easy/fast deployment (requirements:
python3)
• Scripts/environments share
Usages
• Request APIs
• Backup data/configurations
• Share secrets/files
• Build dynamic configurations for
other tools
• Automatic connection to other
servers
• Analyse script results and post it on
other tools
• Notifies teams on certain actions
• Report (scripts results/server states)
• Manage user access to data/secrets
How to use WebScripts
• Client
• API
• Documentation
• Client / Library client
• Examples
• Web Interface
• Request API
• Demonstration
• http(s)://<webscript.server>(:8000)/web/
• Development
• Script
• Add script
• Library / Tools
• Server
• Web Customization
• Module (example)
How to use WebScripts
• Authentication
• API Key (API only)
• Basic auth (API only)
• Script (Web only)
• Blacklisted after 3 authentications in 30
seconds (configurable)
• Session
• API token
• Web Cookie
• 1 session by user/IP address
• Expire after 1 hours (configurable)
• CSRF (Web only)
• Expire after 5 minutes (configurable)
• Reload page -> new token
• 1 token by session
WebScripts administration
• Platform
• Windows (python 3.8, 3.9, 3.10)
• Linux (python 3.8, 3.9, 3.10)
• Mac OSX (python 3.8, 3.9, 3.10)
• Docker
• Installation
• pip install WebScripts
• Upgrade
1. Backup data directory
2. pip install --upgrade WebScripts
3. Replace data directory
4. Restart the server
WebScripts administration
• Server configuration files:
1. ./config/server.json
2. ./config/server.ini
3. <lib path>/config/server.json
4. <lib path>/config/server.ini
• Minimum configuration (recommendation)
• Email (notification)
• smtp_server
• admin_adresses
• Add your scripts (example)
• Add your arguments
• Check security recommendations
• Check the hardening report
WebScripts files
• Configurations (config/)
• Scripts (scripts/, configurable)
• Static (static/, configurable)
• Modules (modules/, configurable)
• Files are searched in
1. Current directory
2. Library directory
• data/ -> only in lib directory
• doc/ -> only in lib directory
WebScripts files
• System permissions
• Files <user>:<user> 400
• Directory root:root 755
• Exceptions
• Directories
• data/uploads/
<user>:<user> 700
• logs/ <user>:<user> 700
• doc/ <user>:<user> 700
• Files
• data/id <user>:<user> 600
• data/*.csv <user>:<user>
600
Features
• CLI in Web Interface
• HTML script in Web Interface
• Modules for custom requests/responses
• Auto-generated documentation
• Execution history
• Download script output
• Web interface customization
• Hardening
• Themes
• Predefined values (URL query)
• Advanced arguments
Pre-integrated scripts
• Integrated
• Account management (user)
• Account management (administration)
• Logs
• Temp passwords share
• Requests/reports
• Files share
• In the future
• Permanently passwords share (group)
• User passwords manager
• Supervision (reports and statistics only)
• Supervision agents management
• Encrypted file share
Ressources
• Documentations: readthedocs /wiki
• Youtube
• Pydoc documentation: online / local
• Source code
• Issues
• Contact:
• mauricelambert434@gmail.com
Screenshot

More Related Content

Similar to Webscripts Server

oracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainingsoracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainings
OnlineOracleTrainings
 
Securing the Apache web server
Securing the Apache web serverSecuring the Apache web server
Securing the Apache web server
webhostingguy
 
Securing the Apache web server
Securing the Apache web serverSecuring the Apache web server
Securing the Apache web server
webhostingguy
 

Similar to Webscripts Server (20)

AmI 2015 - Databases in Python
AmI 2015 - Databases in PythonAmI 2015 - Databases in Python
AmI 2015 - Databases in Python
 
Windows base servers auditing software
Windows base servers auditing softwareWindows base servers auditing software
Windows base servers auditing software
 
DrupalCon 2011 Highlight
DrupalCon 2011 HighlightDrupalCon 2011 Highlight
DrupalCon 2011 Highlight
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
TXLF: Chef- Software Defined Infrastructure Today & Tomorrow
TXLF: Chef- Software Defined Infrastructure Today & TomorrowTXLF: Chef- Software Defined Infrastructure Today & Tomorrow
TXLF: Chef- Software Defined Infrastructure Today & Tomorrow
 
Devday 2014 using_afs_in_your_cloud_app
Devday 2014 using_afs_in_your_cloud_appDevday 2014 using_afs_in_your_cloud_app
Devday 2014 using_afs_in_your_cloud_app
 
Where to save my data, for devs!
Where to save my data, for devs!Where to save my data, for devs!
Where to save my data, for devs!
 
oracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainingsoracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainings
 
Vault
VaultVault
Vault
 
KYSUC - Keep Your Schema Under Control
KYSUC - Keep Your Schema Under ControlKYSUC - Keep Your Schema Under Control
KYSUC - Keep Your Schema Under Control
 
ELK Ruminating on Logs (Zendcon 2016)
ELK Ruminating on Logs (Zendcon 2016)ELK Ruminating on Logs (Zendcon 2016)
ELK Ruminating on Logs (Zendcon 2016)
 
Best And Worst Practices Deploying IBM Connections
Best And Worst Practices Deploying IBM ConnectionsBest And Worst Practices Deploying IBM Connections
Best And Worst Practices Deploying IBM Connections
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
 
Cypress.pptx
Cypress.pptxCypress.pptx
Cypress.pptx
 
Kudu voodoo slideshare
Kudu voodoo   slideshareKudu voodoo   slideshare
Kudu voodoo slideshare
 
Securing the Apache web server
Securing the Apache web serverSecuring the Apache web server
Securing the Apache web server
 
Securing the Apache web server
Securing the Apache web serverSecuring the Apache web server
Securing the Apache web server
 
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best PracticesApril, 2021 OpenNTF Webinar - Domino Administration Best Practices
April, 2021 OpenNTF Webinar - Domino Administration Best Practices
 
OpenStack Deployments with Chef
OpenStack Deployments with ChefOpenStack Deployments with Chef
OpenStack Deployments with Chef
 
MCSA 70-412 Chapter 02
MCSA 70-412 Chapter 02MCSA 70-412 Chapter 02
MCSA 70-412 Chapter 02
 

Recently uploaded

JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
Max Lee
 

Recently uploaded (20)

COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 
APVP,apvp apvp High quality supplier safe spot transport, 98% purity
APVP,apvp apvp High quality supplier safe spot transport, 98% purityAPVP,apvp apvp High quality supplier safe spot transport, 98% purity
APVP,apvp apvp High quality supplier safe spot transport, 98% purity
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 

Webscripts Server

  • 1.
  • 2. Content 1. Why WebScripts 2. Usages 3. How to use WebScripts 4. WebScripts administration 5. WebScripts files 6. Features 7. Pre-integrated scripts 8. Ressources 9. Screenshot
  • 3. Why WebScripts • Useful for SOC, devops and administrators teams • Launch CLI scripts from Web Interface • Secure • Security tests • DAST • SAST • Hardening • Permissions management • Configure with JSON or INI/CFG files (preconfigured) • Easy/fast deployment (requirements: python3) • Scripts/environments share
  • 4. Usages • Request APIs • Backup data/configurations • Share secrets/files • Build dynamic configurations for other tools • Automatic connection to other servers • Analyse script results and post it on other tools • Notifies teams on certain actions • Report (scripts results/server states) • Manage user access to data/secrets
  • 5. How to use WebScripts • Client • API • Documentation • Client / Library client • Examples • Web Interface • Request API • Demonstration • http(s)://<webscript.server>(:8000)/web/ • Development • Script • Add script • Library / Tools • Server • Web Customization • Module (example)
  • 6. How to use WebScripts • Authentication • API Key (API only) • Basic auth (API only) • Script (Web only) • Blacklisted after 3 authentications in 30 seconds (configurable) • Session • API token • Web Cookie • 1 session by user/IP address • Expire after 1 hours (configurable) • CSRF (Web only) • Expire after 5 minutes (configurable) • Reload page -> new token • 1 token by session
  • 7. WebScripts administration • Platform • Windows (python 3.8, 3.9, 3.10) • Linux (python 3.8, 3.9, 3.10) • Mac OSX (python 3.8, 3.9, 3.10) • Docker • Installation • pip install WebScripts • Upgrade 1. Backup data directory 2. pip install --upgrade WebScripts 3. Replace data directory 4. Restart the server
  • 8. WebScripts administration • Server configuration files: 1. ./config/server.json 2. ./config/server.ini 3. <lib path>/config/server.json 4. <lib path>/config/server.ini • Minimum configuration (recommendation) • Email (notification) • smtp_server • admin_adresses • Add your scripts (example) • Add your arguments • Check security recommendations • Check the hardening report
  • 9. WebScripts files • Configurations (config/) • Scripts (scripts/, configurable) • Static (static/, configurable) • Modules (modules/, configurable) • Files are searched in 1. Current directory 2. Library directory • data/ -> only in lib directory • doc/ -> only in lib directory
  • 10. WebScripts files • System permissions • Files <user>:<user> 400 • Directory root:root 755 • Exceptions • Directories • data/uploads/ <user>:<user> 700 • logs/ <user>:<user> 700 • doc/ <user>:<user> 700 • Files • data/id <user>:<user> 600 • data/*.csv <user>:<user> 600
  • 11. Features • CLI in Web Interface • HTML script in Web Interface • Modules for custom requests/responses • Auto-generated documentation • Execution history • Download script output • Web interface customization • Hardening • Themes • Predefined values (URL query) • Advanced arguments
  • 12. Pre-integrated scripts • Integrated • Account management (user) • Account management (administration) • Logs • Temp passwords share • Requests/reports • Files share • In the future • Permanently passwords share (group) • User passwords manager • Supervision (reports and statistics only) • Supervision agents management • Encrypted file share
  • 13. Ressources • Documentations: readthedocs /wiki • Youtube • Pydoc documentation: online / local • Source code • Issues • Contact: • mauricelambert434@gmail.com