├── .gitignore ├── LICENSE ├── README.md ├── demo-install.sh ├── demos ├── demo_cleanup.yml ├── kubernetes │ ├── aviconfigs │ │ ├── avi-dns.yml │ │ ├── cloud-modify.yml │ │ ├── ipam_dns-create.yml │ │ ├── networks-create.yml │ │ └── se_enable.yml │ ├── client │ │ ├── dockerfile │ │ ├── img │ │ │ ├── logo.svg │ │ │ └── polygon.png │ │ ├── k8s_auto.html │ │ ├── kubeclient-create.yml │ │ ├── kubeclient-delete.yml │ │ └── traffic-kube.py │ ├── clusterbinding.json │ ├── clusterrole.json │ ├── controller_config-prep.yml │ ├── controller_deploy_kubernetes.yml │ ├── controller_post_check.yml │ ├── controller_service_check.yml │ ├── dashboard.yml │ ├── demo_kubernetes.yml │ ├── kubernetes-create.yml │ ├── kubernetes-delete.yml │ ├── manifests │ │ ├── deploy-manifest.yml │ │ └── gallery-app.yml │ ├── template_setup.json │ └── vm_prep │ │ └── prep-kube.yml ├── metrics │ ├── avimetrics │ │ ├── README.md │ │ ├── avi_controllers.json │ │ ├── avimetrics-create.yml │ │ ├── avimetrics-delete.yml │ │ ├── dockerfile │ │ └── influxdb.json │ ├── grafana │ │ ├── 01-summary.json │ │ ├── 02-serviceEnginesTotal.json │ │ ├── 03-serviceEnginesSpecific.json │ │ ├── 04-virtualServicesTotal.json │ │ ├── 05-virtualServicesSpecific.json │ │ ├── Avi-dashboards.json │ │ ├── dashboard.yml │ │ ├── datasource.yml │ │ ├── dockerfile │ │ ├── grafana-create.yml │ │ ├── grafana-delete.yml │ │ ├── server.crt │ │ └── server.key │ ├── influxdb │ │ ├── influxdb-create.yml │ │ └── influxdb-delete.yml │ ├── metrics_delete.yml │ ├── metrics_hosts │ └── metrics_install.yml ├── nocloud │ ├── applications │ │ ├── applications.yml │ │ ├── demo_avi │ │ │ ├── app.yml │ │ │ └── config.yml │ │ ├── scaleout │ │ │ ├── app.yml │ │ │ └── config.yml │ │ └── waf │ │ │ ├── app.yml │ │ │ └── config.yml │ ├── avicontroller │ │ ├── controller_change_ver.yml │ │ ├── controller_delete.yml │ │ ├── controller_deploy.yml │ │ ├── controller_post_check.yml │ │ ├── controller_service_check.yml │ │ └── setup.json │ ├── client │ │ ├── demo-waf │ │ │ ├── democlient-create.yml │ │ │ ├── democlient-delete.yml │ │ │ ├── dockerfile │ │ │ ├── interfaces │ │ │ ├── netem │ │ │ ├── startup.py │ │ │ ├── vs_demo │ │ │ │ ├── brokenlink_vs.py │ │ │ │ └── ssl_traffic.py │ │ │ └── waf │ │ │ │ └── waf_traffic.py │ │ └── scaleout │ │ │ ├── dockerfile │ │ │ ├── scaleout │ │ │ ├── traffic-ecc.py │ │ │ └── traffic-rsa.py │ │ │ ├── scaleoutclient-create.yml │ │ │ ├── scaleoutclient-delete.yml │ │ │ └── startup.py │ ├── demo_nocloud.yml │ ├── nocloud_change_ver.yml │ ├── se_group │ │ └── se_group.yml │ ├── servers │ │ ├── demo-scaleout │ │ │ ├── demoscaleoutserver-create.yml │ │ │ ├── demoscaleoutserver-delete.yml │ │ │ ├── dockerfile │ │ │ └── html │ │ │ │ ├── 100k.dat │ │ │ │ ├── assets │ │ │ │ ├── avi.mp4 │ │ │ │ └── avi.webm │ │ │ │ ├── avinetworks │ │ │ │ ├── index.html │ │ │ │ ├── secure │ │ │ │ │ └── accounts │ │ │ │ │ │ ├── login │ │ │ │ │ │ └── index.html │ │ │ │ │ │ └── register │ │ │ │ │ │ └── index.html │ │ │ │ └── static │ │ │ │ │ └── avi │ │ │ │ │ ├── css │ │ │ │ │ └── style.css │ │ │ │ │ ├── img │ │ │ │ │ ├── arrow.png │ │ │ │ │ ├── arrow_more.png │ │ │ │ │ ├── bg.png │ │ │ │ │ ├── bg_mobi.png │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── icon_bio_twitter.png │ │ │ │ │ ├── icon_culture.png │ │ │ │ │ ├── icon_email.png │ │ │ │ │ ├── icon_jobs.png │ │ │ │ │ ├── icon_linkedin.png │ │ │ │ │ ├── icon_menu.png │ │ │ │ │ ├── icon_perks.png │ │ │ │ │ ├── icon_phone.png │ │ │ │ │ ├── icon_pin.png │ │ │ │ │ ├── icon_team.png │ │ │ │ │ ├── icon_twitter.png │ │ │ │ │ ├── logo.png │ │ │ │ │ ├── logo_bottom.png │ │ │ │ │ ├── logo_greylock.png │ │ │ │ │ ├── logo_lightspeed.png │ │ │ │ │ ├── pic_asheem.png │ │ │ │ │ ├── pic_barry.png │ │ │ │ │ ├── pic_guru.png │ │ │ │ │ ├── pic_murali.png │ │ │ │ │ ├── pic_ranga.png │ │ │ │ │ ├── pic_umesh.png │ │ │ │ │ └── rocket.png │ │ │ │ │ └── js │ │ │ │ │ ├── libs │ │ │ │ │ ├── jquery.form.js │ │ │ │ │ ├── jquery.js │ │ │ │ │ ├── jquery.pagescroller.lite.js │ │ │ │ │ └── jquery.validate.js │ │ │ │ │ └── scripts.js │ │ │ │ ├── imgs │ │ │ │ ├── 443964.js │ │ │ │ ├── any-cloud.svg │ │ │ │ ├── app-insights.svg │ │ │ │ ├── build.js │ │ │ │ ├── control-icon.svg │ │ │ │ ├── conversion.js │ │ │ │ ├── favicon_v2.ico │ │ │ │ ├── foot-logo.png │ │ │ │ ├── ga.js │ │ │ │ ├── header.png │ │ │ │ ├── icon_search.png │ │ │ │ ├── jfx7aaf.js │ │ │ │ ├── l │ │ │ │ ├── localization.en.0.3632191afe35222a6b78c04d457adc0d_bd239e886f1485cd3078d7b9d4f583da.js │ │ │ │ ├── logo.png │ │ │ │ ├── lower-tco.svg │ │ │ │ ├── microservices.svg │ │ │ │ ├── open_chat.html │ │ │ │ ├── openstack.svg │ │ │ │ ├── ping │ │ │ │ ├── s2.png │ │ │ │ ├── s3.png │ │ │ │ ├── s4.png │ │ │ │ ├── saved_resource.html │ │ │ │ ├── scalability.svg │ │ │ │ ├── script_data.js │ │ │ │ ├── sdn.svg │ │ │ │ ├── service-icon.svg │ │ │ │ ├── sf14g.js │ │ │ │ ├── tl813.js │ │ │ │ ├── tracking.js │ │ │ │ ├── webinar.png │ │ │ │ └── whitepaper.png │ │ │ │ ├── index.htm │ │ │ │ └── index_old.html │ │ ├── rdp │ │ │ ├── admin │ │ │ │ ├── .config │ │ │ │ │ └── xfce4 │ │ │ │ │ │ └── xfconf │ │ │ │ │ │ └── xfce-perchannel-xml │ │ │ │ │ │ ├── xfce4-desktop.xml │ │ │ │ │ │ ├── xfwm4.xml │ │ │ │ │ │ └── xsettings.xml │ │ │ │ ├── .gtkrc-2.0 │ │ │ │ └── Desktop │ │ │ │ │ ├── bookmarks.html │ │ │ │ │ ├── firefox.desktop │ │ │ │ │ └── wireshark.desktop │ │ │ ├── docker-entrypoint.sh │ │ │ ├── dockerfile │ │ │ ├── etc │ │ │ │ ├── supervisord.conf │ │ │ │ └── xrdp │ │ │ │ │ ├── sesman.ini │ │ │ │ │ └── xrdp.ini │ │ │ ├── rdpserver-create.yml │ │ │ └── rdpserver-delete.yml │ │ └── waf │ │ │ ├── dockerfile │ │ │ ├── dvwa.sql │ │ │ ├── dvwa │ │ │ ├── .htaccess │ │ │ ├── CHANGELOG.md │ │ │ ├── COPYING.txt │ │ │ ├── README.md │ │ │ ├── about.php │ │ │ ├── config │ │ │ │ └── config.inc.php │ │ │ ├── docs │ │ │ │ ├── DVWA_v1.3.pdf │ │ │ │ └── pdf.html │ │ │ ├── dvwa │ │ │ │ ├── css │ │ │ │ │ ├── help.css │ │ │ │ │ ├── login.css │ │ │ │ │ ├── main.css │ │ │ │ │ └── source.css │ │ │ │ ├── images │ │ │ │ │ ├── RandomStorm.png │ │ │ │ │ ├── dollar.png │ │ │ │ │ ├── lock.png │ │ │ │ │ ├── login_logo.png │ │ │ │ │ ├── logo.png │ │ │ │ │ ├── spanner.png │ │ │ │ │ └── warning.png │ │ │ │ ├── includes │ │ │ │ │ ├── DBMS │ │ │ │ │ │ ├── MySQL.php │ │ │ │ │ │ └── PGSQL.php │ │ │ │ │ ├── dvwaPage.inc.php │ │ │ │ │ └── dvwaPhpIds.inc.php │ │ │ │ └── js │ │ │ │ │ └── dvwaPage.js │ │ │ ├── external │ │ │ │ ├── phpids │ │ │ │ │ └── 0.6 │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── build.xml │ │ │ │ │ │ ├── docs │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ ├── cakephp │ │ │ │ │ │ │ │ ├── README │ │ │ │ │ │ │ │ ├── ids.php │ │ │ │ │ │ │ │ └── intrusion.php │ │ │ │ │ │ │ └── example.php │ │ │ │ │ │ └── phpdocumentor │ │ │ │ │ │ │ ├── PHPIDS │ │ │ │ │ │ │ ├── IDS_Caching.html │ │ │ │ │ │ │ ├── IDS_Caching_Database.html │ │ │ │ │ │ │ ├── IDS_Caching_File.html │ │ │ │ │ │ │ ├── IDS_Caching_Interface.html │ │ │ │ │ │ │ ├── IDS_Caching_Memcached.html │ │ │ │ │ │ │ ├── IDS_Caching_Session.html │ │ │ │ │ │ │ ├── IDS_Converter.html │ │ │ │ │ │ │ ├── IDS_Event.html │ │ │ │ │ │ │ ├── IDS_Filter.html │ │ │ │ │ │ │ ├── IDS_Filter_Storage.html │ │ │ │ │ │ │ ├── IDS_Filter_Storage_Abstract.html │ │ │ │ │ │ │ ├── IDS_Init.html │ │ │ │ │ │ │ ├── IDS_Log_Composite.html │ │ │ │ │ │ │ ├── IDS_Log_Database.html │ │ │ │ │ │ │ ├── IDS_Log_Email.html │ │ │ │ │ │ │ ├── IDS_Log_File.html │ │ │ │ │ │ │ ├── IDS_Log_Interface.html │ │ │ │ │ │ │ ├── IDS_Monitor.html │ │ │ │ │ │ │ ├── IDS_Report.html │ │ │ │ │ │ │ ├── _Caching---Database.php.html │ │ │ │ │ │ │ ├── _Caching---Factory.php.html │ │ │ │ │ │ │ ├── _Caching---File.php.html │ │ │ │ │ │ │ ├── _Caching---Interface.php.html │ │ │ │ │ │ │ ├── _Caching---Memcached.php.html │ │ │ │ │ │ │ ├── _Caching---Session.php.html │ │ │ │ │ │ │ ├── _Converter.php.html │ │ │ │ │ │ │ ├── _Event.php.html │ │ │ │ │ │ │ ├── _Filter---Filter.php.html │ │ │ │ │ │ │ ├── _Filter---Storage---Abstract.php.html │ │ │ │ │ │ │ ├── _Filter---Storage.php.html │ │ │ │ │ │ │ ├── _Filter.php.html │ │ │ │ │ │ │ ├── _Init.php.html │ │ │ │ │ │ │ ├── _Log---Composite.php.html │ │ │ │ │ │ │ ├── _Log---Database.php.html │ │ │ │ │ │ │ ├── _Log---Email.php.html │ │ │ │ │ │ │ ├── _Log---File.php.html │ │ │ │ │ │ │ ├── _Log---Interface.php.html │ │ │ │ │ │ │ ├── _Monitor.php.html │ │ │ │ │ │ │ └── _Report.php.html │ │ │ │ │ │ │ ├── blank.html │ │ │ │ │ │ │ ├── classtrees_PHPIDS.html │ │ │ │ │ │ │ ├── elementindex.html │ │ │ │ │ │ │ ├── elementindex_PHPIDS.html │ │ │ │ │ │ │ ├── errors.html │ │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ │ ├── li_PHPIDS.html │ │ │ │ │ │ │ ├── media │ │ │ │ │ │ │ ├── banner.css │ │ │ │ │ │ │ └── stylesheet.css │ │ │ │ │ │ │ └── packages.html │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── IDS │ │ │ │ │ │ │ ├── Caching │ │ │ │ │ │ │ ├── Database.php │ │ │ │ │ │ │ ├── Factory.php │ │ │ │ │ │ │ ├── File.php │ │ │ │ │ │ │ ├── Interface.php │ │ │ │ │ │ │ ├── Memcached.php │ │ │ │ │ │ │ └── Session.php │ │ │ │ │ │ │ ├── Config │ │ │ │ │ │ │ └── Config.ini │ │ │ │ │ │ │ ├── Converter.php │ │ │ │ │ │ │ ├── Event.php │ │ │ │ │ │ │ ├── Filter.php │ │ │ │ │ │ │ ├── Filter │ │ │ │ │ │ │ └── Storage.php │ │ │ │ │ │ │ ├── Init.php │ │ │ │ │ │ │ ├── Log │ │ │ │ │ │ │ ├── Composite.php │ │ │ │ │ │ │ ├── Database.php │ │ │ │ │ │ │ ├── Email.php │ │ │ │ │ │ │ ├── File.php │ │ │ │ │ │ │ └── Interface.php │ │ │ │ │ │ │ ├── Monitor.php │ │ │ │ │ │ │ ├── Report.php │ │ │ │ │ │ │ ├── default_filter.json │ │ │ │ │ │ │ ├── default_filter.xml │ │ │ │ │ │ │ ├── tmp │ │ │ │ │ │ │ └── phpids_log.txt │ │ │ │ │ │ │ └── vendors │ │ │ │ │ │ │ └── htmlpurifier │ │ │ │ │ │ │ ├── HTMLPurifier.auto.php │ │ │ │ │ │ │ ├── HTMLPurifier.autoload.php │ │ │ │ │ │ │ ├── HTMLPurifier.func.php │ │ │ │ │ │ │ ├── HTMLPurifier.includes.php │ │ │ │ │ │ │ ├── HTMLPurifier.kses.php │ │ │ │ │ │ │ ├── HTMLPurifier.path.php │ │ │ │ │ │ │ ├── HTMLPurifier.php │ │ │ │ │ │ │ ├── HTMLPurifier.safe-includes.php │ │ │ │ │ │ │ └── HTMLPurifier │ │ │ │ │ │ │ ├── AttrCollections.php │ │ │ │ │ │ │ ├── AttrDef.php │ │ │ │ │ │ │ ├── AttrDef │ │ │ │ │ │ │ ├── CSS.php │ │ │ │ │ │ │ ├── CSS │ │ │ │ │ │ │ │ ├── AlphaValue.php │ │ │ │ │ │ │ │ ├── Background.php │ │ │ │ │ │ │ │ ├── BackgroundPosition.php │ │ │ │ │ │ │ │ ├── Border.php │ │ │ │ │ │ │ │ ├── Color.php │ │ │ │ │ │ │ │ ├── Composite.php │ │ │ │ │ │ │ │ ├── DenyElementDecorator.php │ │ │ │ │ │ │ │ ├── Filter.php │ │ │ │ │ │ │ │ ├── Font.php │ │ │ │ │ │ │ │ ├── FontFamily.php │ │ │ │ │ │ │ │ ├── ImportantDecorator.php │ │ │ │ │ │ │ │ ├── Length.php │ │ │ │ │ │ │ │ ├── ListStyle.php │ │ │ │ │ │ │ │ ├── Multiple.php │ │ │ │ │ │ │ │ ├── Number.php │ │ │ │ │ │ │ │ ├── Percentage.php │ │ │ │ │ │ │ │ ├── TextDecoration.php │ │ │ │ │ │ │ │ └── URI.php │ │ │ │ │ │ │ ├── Enum.php │ │ │ │ │ │ │ ├── HTML │ │ │ │ │ │ │ │ ├── Bool.php │ │ │ │ │ │ │ │ ├── Color.php │ │ │ │ │ │ │ │ ├── FrameTarget.php │ │ │ │ │ │ │ │ ├── ID.php │ │ │ │ │ │ │ │ ├── Length.php │ │ │ │ │ │ │ │ ├── LinkTypes.php │ │ │ │ │ │ │ │ ├── MultiLength.php │ │ │ │ │ │ │ │ ├── Nmtokens.php │ │ │ │ │ │ │ │ └── Pixels.php │ │ │ │ │ │ │ ├── Integer.php │ │ │ │ │ │ │ ├── Lang.php │ │ │ │ │ │ │ ├── Switch.php │ │ │ │ │ │ │ ├── Text.php │ │ │ │ │ │ │ ├── URI.php │ │ │ │ │ │ │ └── URI │ │ │ │ │ │ │ │ ├── Email.php │ │ │ │ │ │ │ │ ├── Email │ │ │ │ │ │ │ │ └── SimpleCheck.php │ │ │ │ │ │ │ │ ├── Host.php │ │ │ │ │ │ │ │ ├── IPv4.php │ │ │ │ │ │ │ │ └── IPv6.php │ │ │ │ │ │ │ ├── AttrTransform.php │ │ │ │ │ │ │ ├── AttrTransform │ │ │ │ │ │ │ ├── Background.php │ │ │ │ │ │ │ ├── BdoDir.php │ │ │ │ │ │ │ ├── BgColor.php │ │ │ │ │ │ │ ├── BoolToCSS.php │ │ │ │ │ │ │ ├── Border.php │ │ │ │ │ │ │ ├── EnumToCSS.php │ │ │ │ │ │ │ ├── ImgRequired.php │ │ │ │ │ │ │ ├── ImgSpace.php │ │ │ │ │ │ │ ├── Input.php │ │ │ │ │ │ │ ├── Lang.php │ │ │ │ │ │ │ ├── Length.php │ │ │ │ │ │ │ ├── Name.php │ │ │ │ │ │ │ ├── SafeEmbed.php │ │ │ │ │ │ │ ├── SafeObject.php │ │ │ │ │ │ │ ├── SafeParam.php │ │ │ │ │ │ │ ├── ScriptRequired.php │ │ │ │ │ │ │ └── Textarea.php │ │ │ │ │ │ │ ├── AttrTypes.php │ │ │ │ │ │ │ ├── AttrValidator.php │ │ │ │ │ │ │ ├── Bootstrap.php │ │ │ │ │ │ │ ├── CSSDefinition.php │ │ │ │ │ │ │ ├── ChildDef.php │ │ │ │ │ │ │ ├── ChildDef │ │ │ │ │ │ │ ├── Chameleon.php │ │ │ │ │ │ │ ├── Custom.php │ │ │ │ │ │ │ ├── Empty.php │ │ │ │ │ │ │ ├── Optional.php │ │ │ │ │ │ │ ├── Required.php │ │ │ │ │ │ │ ├── StrictBlockquote.php │ │ │ │ │ │ │ └── Table.php │ │ │ │ │ │ │ ├── Config.php │ │ │ │ │ │ │ ├── ConfigDef.php │ │ │ │ │ │ │ ├── ConfigDef │ │ │ │ │ │ │ ├── Directive.php │ │ │ │ │ │ │ ├── DirectiveAlias.php │ │ │ │ │ │ │ └── Namespace.php │ │ │ │ │ │ │ ├── ConfigSchema.php │ │ │ │ │ │ │ ├── ConfigSchema │ │ │ │ │ │ │ ├── Builder │ │ │ │ │ │ │ │ ├── ConfigSchema.php │ │ │ │ │ │ │ │ └── Xml.php │ │ │ │ │ │ │ ├── Exception.php │ │ │ │ │ │ │ ├── Interchange.php │ │ │ │ │ │ │ ├── Interchange │ │ │ │ │ │ │ │ ├── Directive.php │ │ │ │ │ │ │ │ ├── Id.php │ │ │ │ │ │ │ │ └── Namespace.php │ │ │ │ │ │ │ ├── InterchangeBuilder.php │ │ │ │ │ │ │ ├── Validator.php │ │ │ │ │ │ │ ├── ValidatorAtom.php │ │ │ │ │ │ │ ├── schema.ser │ │ │ │ │ │ │ └── schema │ │ │ │ │ │ │ │ ├── Attr.AllowedFrameTargets.txt │ │ │ │ │ │ │ │ ├── Attr.AllowedRel.txt │ │ │ │ │ │ │ │ ├── Attr.AllowedRev.txt │ │ │ │ │ │ │ │ ├── Attr.DefaultImageAlt.txt │ │ │ │ │ │ │ │ ├── Attr.DefaultInvalidImage.txt │ │ │ │ │ │ │ │ ├── Attr.DefaultInvalidImageAlt.txt │ │ │ │ │ │ │ │ ├── Attr.DefaultTextDir.txt │ │ │ │ │ │ │ │ ├── Attr.EnableID.txt │ │ │ │ │ │ │ │ ├── Attr.IDBlacklist.txt │ │ │ │ │ │ │ │ ├── Attr.IDBlacklistRegexp.txt │ │ │ │ │ │ │ │ ├── Attr.IDPrefix.txt │ │ │ │ │ │ │ │ ├── Attr.IDPrefixLocal.txt │ │ │ │ │ │ │ │ ├── Attr.txt │ │ │ │ │ │ │ │ ├── AutoFormat.AutoParagraph.txt │ │ │ │ │ │ │ │ ├── AutoFormat.Custom.txt │ │ │ │ │ │ │ │ ├── AutoFormat.DisplayLinkURI.txt │ │ │ │ │ │ │ │ ├── AutoFormat.Linkify.txt │ │ │ │ │ │ │ │ ├── AutoFormat.PurifierLinkify.txt │ │ │ │ │ │ │ │ ├── AutoFormat.RemoveEmpty.txt │ │ │ │ │ │ │ │ ├── AutoFormat.txt │ │ │ │ │ │ │ │ ├── AutoFormatParam.PurifierLinkifyDocURL.txt │ │ │ │ │ │ │ │ ├── AutoFormatParam.txt │ │ │ │ │ │ │ │ ├── CSS.AllowImportant.txt │ │ │ │ │ │ │ │ ├── CSS.AllowTricky.txt │ │ │ │ │ │ │ │ ├── CSS.AllowedProperties.txt │ │ │ │ │ │ │ │ ├── CSS.DefinitionRev.txt │ │ │ │ │ │ │ │ ├── CSS.MaxImgLength.txt │ │ │ │ │ │ │ │ ├── CSS.Proprietary.txt │ │ │ │ │ │ │ │ ├── CSS.txt │ │ │ │ │ │ │ │ ├── Cache.DefinitionImpl.txt │ │ │ │ │ │ │ │ ├── Cache.SerializerPath.txt │ │ │ │ │ │ │ │ ├── Cache.txt │ │ │ │ │ │ │ │ ├── Core.AggressivelyFixLt.txt │ │ │ │ │ │ │ │ ├── Core.CollectErrors.txt │ │ │ │ │ │ │ │ ├── Core.ColorKeywords.txt │ │ │ │ │ │ │ │ ├── Core.ConvertDocumentToFragment.txt │ │ │ │ │ │ │ │ ├── Core.DirectLexLineNumberSyncInterval.txt │ │ │ │ │ │ │ │ ├── Core.Encoding.txt │ │ │ │ │ │ │ │ ├── Core.EscapeInvalidChildren.txt │ │ │ │ │ │ │ │ ├── Core.EscapeInvalidTags.txt │ │ │ │ │ │ │ │ ├── Core.EscapeNonASCIICharacters.txt │ │ │ │ │ │ │ │ ├── Core.HiddenElements.txt │ │ │ │ │ │ │ │ ├── Core.Language.txt │ │ │ │ │ │ │ │ ├── Core.LexerImpl.txt │ │ │ │ │ │ │ │ ├── Core.MaintainLineNumbers.txt │ │ │ │ │ │ │ │ ├── Core.RemoveInvalidImg.txt │ │ │ │ │ │ │ │ ├── Core.RemoveScriptContents.txt │ │ │ │ │ │ │ │ ├── Core.txt │ │ │ │ │ │ │ │ ├── Filter.Custom.txt │ │ │ │ │ │ │ │ ├── Filter.ExtractStyleBlocks.txt │ │ │ │ │ │ │ │ ├── Filter.YouTube.txt │ │ │ │ │ │ │ │ ├── Filter.txt │ │ │ │ │ │ │ │ ├── FilterParam.ExtractStyleBlocksEscaping.txt │ │ │ │ │ │ │ │ ├── FilterParam.ExtractStyleBlocksScope.txt │ │ │ │ │ │ │ │ ├── FilterParam.ExtractStyleBlocksTidyImpl.txt │ │ │ │ │ │ │ │ ├── FilterParam.txt │ │ │ │ │ │ │ │ ├── HTML.Allowed.txt │ │ │ │ │ │ │ │ ├── HTML.AllowedAttributes.txt │ │ │ │ │ │ │ │ ├── HTML.AllowedElements.txt │ │ │ │ │ │ │ │ ├── HTML.AllowedModules.txt │ │ │ │ │ │ │ │ ├── HTML.BlockWrapper.txt │ │ │ │ │ │ │ │ ├── HTML.CoreModules.txt │ │ │ │ │ │ │ │ ├── HTML.CustomDoctype.txt │ │ │ │ │ │ │ │ ├── HTML.DefinitionID.txt │ │ │ │ │ │ │ │ ├── HTML.DefinitionRev.txt │ │ │ │ │ │ │ │ ├── HTML.Doctype.txt │ │ │ │ │ │ │ │ ├── HTML.ForbiddenAttributes.txt │ │ │ │ │ │ │ │ ├── HTML.ForbiddenElements.txt │ │ │ │ │ │ │ │ ├── HTML.MaxImgLength.txt │ │ │ │ │ │ │ │ ├── HTML.Parent.txt │ │ │ │ │ │ │ │ ├── HTML.Proprietary.txt │ │ │ │ │ │ │ │ ├── HTML.SafeEmbed.txt │ │ │ │ │ │ │ │ ├── HTML.SafeObject.txt │ │ │ │ │ │ │ │ ├── HTML.Strict.txt │ │ │ │ │ │ │ │ ├── HTML.TidyAdd.txt │ │ │ │ │ │ │ │ ├── HTML.TidyLevel.txt │ │ │ │ │ │ │ │ ├── HTML.TidyRemove.txt │ │ │ │ │ │ │ │ ├── HTML.Trusted.txt │ │ │ │ │ │ │ │ ├── HTML.XHTML.txt │ │ │ │ │ │ │ │ ├── HTML.txt │ │ │ │ │ │ │ │ ├── Output.CommentScriptContents.txt │ │ │ │ │ │ │ │ ├── Output.Newline.txt │ │ │ │ │ │ │ │ ├── Output.SortAttr.txt │ │ │ │ │ │ │ │ ├── Output.TidyFormat.txt │ │ │ │ │ │ │ │ ├── Output.txt │ │ │ │ │ │ │ │ ├── Test.ForceNoIconv.txt │ │ │ │ │ │ │ │ ├── Test.txt │ │ │ │ │ │ │ │ ├── URI.AllowedSchemes.txt │ │ │ │ │ │ │ │ ├── URI.Base.txt │ │ │ │ │ │ │ │ ├── URI.DefaultScheme.txt │ │ │ │ │ │ │ │ ├── URI.DefinitionID.txt │ │ │ │ │ │ │ │ ├── URI.DefinitionRev.txt │ │ │ │ │ │ │ │ ├── URI.Disable.txt │ │ │ │ │ │ │ │ ├── URI.DisableExternal.txt │ │ │ │ │ │ │ │ ├── URI.DisableExternalResources.txt │ │ │ │ │ │ │ │ ├── URI.DisableResources.txt │ │ │ │ │ │ │ │ ├── URI.Host.txt │ │ │ │ │ │ │ │ ├── URI.HostBlacklist.txt │ │ │ │ │ │ │ │ ├── URI.MakeAbsolute.txt │ │ │ │ │ │ │ │ ├── URI.Munge.txt │ │ │ │ │ │ │ │ ├── URI.MungeResources.txt │ │ │ │ │ │ │ │ ├── URI.MungeSecretKey.txt │ │ │ │ │ │ │ │ ├── URI.OverrideAllowedSchemes.txt │ │ │ │ │ │ │ │ ├── URI.txt │ │ │ │ │ │ │ │ └── info.ini │ │ │ │ │ │ │ ├── ContentSets.php │ │ │ │ │ │ │ ├── Context.php │ │ │ │ │ │ │ ├── Definition.php │ │ │ │ │ │ │ ├── DefinitionCache.php │ │ │ │ │ │ │ ├── DefinitionCache │ │ │ │ │ │ │ ├── Decorator.php │ │ │ │ │ │ │ ├── Decorator │ │ │ │ │ │ │ │ ├── Cleanup.php │ │ │ │ │ │ │ │ ├── Memory.php │ │ │ │ │ │ │ │ └── Template.php.in │ │ │ │ │ │ │ ├── Null.php │ │ │ │ │ │ │ ├── Serializer.php │ │ │ │ │ │ │ └── Serializer │ │ │ │ │ │ │ │ └── README │ │ │ │ │ │ │ ├── DefinitionCacheFactory.php │ │ │ │ │ │ │ ├── Doctype.php │ │ │ │ │ │ │ ├── DoctypeRegistry.php │ │ │ │ │ │ │ ├── ElementDef.php │ │ │ │ │ │ │ ├── Encoder.php │ │ │ │ │ │ │ ├── EntityLookup.php │ │ │ │ │ │ │ ├── EntityLookup │ │ │ │ │ │ │ └── entities.ser │ │ │ │ │ │ │ ├── EntityParser.php │ │ │ │ │ │ │ ├── ErrorCollector.php │ │ │ │ │ │ │ ├── ErrorStruct.php │ │ │ │ │ │ │ ├── Exception.php │ │ │ │ │ │ │ ├── Filter.php │ │ │ │ │ │ │ ├── Filter │ │ │ │ │ │ │ ├── ExtractStyleBlocks.php │ │ │ │ │ │ │ └── YouTube.php │ │ │ │ │ │ │ ├── Generator.php │ │ │ │ │ │ │ ├── HTMLDefinition.php │ │ │ │ │ │ │ ├── HTMLModule.php │ │ │ │ │ │ │ ├── HTMLModule │ │ │ │ │ │ │ ├── Bdo.php │ │ │ │ │ │ │ ├── CommonAttributes.php │ │ │ │ │ │ │ ├── Edit.php │ │ │ │ │ │ │ ├── Forms.php │ │ │ │ │ │ │ ├── Hypertext.php │ │ │ │ │ │ │ ├── Image.php │ │ │ │ │ │ │ ├── Legacy.php │ │ │ │ │ │ │ ├── List.php │ │ │ │ │ │ │ ├── Name.php │ │ │ │ │ │ │ ├── NonXMLCommonAttributes.php │ │ │ │ │ │ │ ├── Object.php │ │ │ │ │ │ │ ├── Presentation.php │ │ │ │ │ │ │ ├── Proprietary.php │ │ │ │ │ │ │ ├── Ruby.php │ │ │ │ │ │ │ ├── SafeEmbed.php │ │ │ │ │ │ │ ├── SafeObject.php │ │ │ │ │ │ │ ├── Scripting.php │ │ │ │ │ │ │ ├── StyleAttribute.php │ │ │ │ │ │ │ ├── Tables.php │ │ │ │ │ │ │ ├── Target.php │ │ │ │ │ │ │ ├── Text.php │ │ │ │ │ │ │ ├── Tidy.php │ │ │ │ │ │ │ ├── Tidy │ │ │ │ │ │ │ │ ├── Name.php │ │ │ │ │ │ │ │ ├── Proprietary.php │ │ │ │ │ │ │ │ ├── Strict.php │ │ │ │ │ │ │ │ ├── Transitional.php │ │ │ │ │ │ │ │ ├── XHTML.php │ │ │ │ │ │ │ │ └── XHTMLAndHTML4.php │ │ │ │ │ │ │ └── XMLCommonAttributes.php │ │ │ │ │ │ │ ├── HTMLModuleManager.php │ │ │ │ │ │ │ ├── IDAccumulator.php │ │ │ │ │ │ │ ├── Injector.php │ │ │ │ │ │ │ ├── Injector │ │ │ │ │ │ │ ├── AutoParagraph.php │ │ │ │ │ │ │ ├── DisplayLinkURI.php │ │ │ │ │ │ │ ├── Linkify.php │ │ │ │ │ │ │ ├── PurifierLinkify.php │ │ │ │ │ │ │ ├── RemoveEmpty.php │ │ │ │ │ │ │ └── SafeObject.php │ │ │ │ │ │ │ ├── Language.php │ │ │ │ │ │ │ ├── Language │ │ │ │ │ │ │ ├── classes │ │ │ │ │ │ │ │ └── en-x-test.php │ │ │ │ │ │ │ └── messages │ │ │ │ │ │ │ │ ├── en-x-test.php │ │ │ │ │ │ │ │ ├── en-x-testmini.php │ │ │ │ │ │ │ │ └── en.php │ │ │ │ │ │ │ ├── LanguageFactory.php │ │ │ │ │ │ │ ├── Length.php │ │ │ │ │ │ │ ├── Lexer.php │ │ │ │ │ │ │ ├── Lexer │ │ │ │ │ │ │ ├── DOMLex.php │ │ │ │ │ │ │ ├── DirectLex.php │ │ │ │ │ │ │ ├── PEARSax3.php │ │ │ │ │ │ │ └── PH5P.php │ │ │ │ │ │ │ ├── PercentEncoder.php │ │ │ │ │ │ │ ├── Printer.php │ │ │ │ │ │ │ ├── Printer │ │ │ │ │ │ │ ├── CSSDefinition.php │ │ │ │ │ │ │ ├── ConfigForm.css │ │ │ │ │ │ │ ├── ConfigForm.js │ │ │ │ │ │ │ ├── ConfigForm.php │ │ │ │ │ │ │ └── HTMLDefinition.php │ │ │ │ │ │ │ ├── Strategy.php │ │ │ │ │ │ │ ├── Strategy │ │ │ │ │ │ │ ├── Composite.php │ │ │ │ │ │ │ ├── Core.php │ │ │ │ │ │ │ ├── FixNesting.php │ │ │ │ │ │ │ ├── MakeWellFormed.php │ │ │ │ │ │ │ ├── RemoveForeignElements.php │ │ │ │ │ │ │ └── ValidateAttributes.php │ │ │ │ │ │ │ ├── StringHash.php │ │ │ │ │ │ │ ├── StringHashParser.php │ │ │ │ │ │ │ ├── TagTransform.php │ │ │ │ │ │ │ ├── TagTransform │ │ │ │ │ │ │ ├── Font.php │ │ │ │ │ │ │ └── Simple.php │ │ │ │ │ │ │ ├── Token.php │ │ │ │ │ │ │ ├── Token │ │ │ │ │ │ │ ├── Comment.php │ │ │ │ │ │ │ ├── Empty.php │ │ │ │ │ │ │ ├── End.php │ │ │ │ │ │ │ ├── Start.php │ │ │ │ │ │ │ ├── Tag.php │ │ │ │ │ │ │ └── Text.php │ │ │ │ │ │ │ ├── TokenFactory.php │ │ │ │ │ │ │ ├── URI.php │ │ │ │ │ │ │ ├── URIDefinition.php │ │ │ │ │ │ │ ├── URIFilter.php │ │ │ │ │ │ │ ├── URIFilter │ │ │ │ │ │ │ ├── DisableExternal.php │ │ │ │ │ │ │ ├── DisableExternalResources.php │ │ │ │ │ │ │ ├── HostBlacklist.php │ │ │ │ │ │ │ ├── MakeAbsolute.php │ │ │ │ │ │ │ └── Munge.php │ │ │ │ │ │ │ ├── URIParser.php │ │ │ │ │ │ │ ├── URIScheme.php │ │ │ │ │ │ │ ├── URIScheme │ │ │ │ │ │ │ ├── ftp.php │ │ │ │ │ │ │ ├── http.php │ │ │ │ │ │ │ ├── https.php │ │ │ │ │ │ │ ├── mailto.php │ │ │ │ │ │ │ ├── news.php │ │ │ │ │ │ │ └── nntp.php │ │ │ │ │ │ │ ├── URISchemeRegistry.php │ │ │ │ │ │ │ ├── UnitConverter.php │ │ │ │ │ │ │ ├── VarParser.php │ │ │ │ │ │ │ ├── VarParser │ │ │ │ │ │ │ ├── Flexible.php │ │ │ │ │ │ │ └── Native.php │ │ │ │ │ │ │ └── VarParserException.php │ │ │ │ │ │ └── tests │ │ │ │ │ │ ├── IDS │ │ │ │ │ │ ├── CachingTest.php │ │ │ │ │ │ ├── EventTest.php │ │ │ │ │ │ ├── ExceptionTest.php │ │ │ │ │ │ ├── FilterTest.php │ │ │ │ │ │ ├── InitTest.php │ │ │ │ │ │ ├── MonitorTest.php │ │ │ │ │ │ └── ReportTest.php │ │ │ │ │ │ ├── allTests.php │ │ │ │ │ │ └── coverage │ │ │ │ │ │ ├── Caching.html │ │ │ │ │ │ ├── Caching_Factory.php.html │ │ │ │ │ │ ├── Caching_File.php.html │ │ │ │ │ │ ├── Caching_Interface.php.html │ │ │ │ │ │ ├── Caching_Session.php.html │ │ │ │ │ │ ├── Converter.php.html │ │ │ │ │ │ ├── Event.php.html │ │ │ │ │ │ ├── Filter.html │ │ │ │ │ │ ├── Filter.php.html │ │ │ │ │ │ ├── Filter_Storage.php.html │ │ │ │ │ │ ├── Init.php.html │ │ │ │ │ │ ├── Monitor.php.html │ │ │ │ │ │ ├── Report.php.html │ │ │ │ │ │ ├── butter.png │ │ │ │ │ │ ├── chameleon.png │ │ │ │ │ │ ├── close12_1.gif │ │ │ │ │ │ ├── container-min.js │ │ │ │ │ │ ├── container.css │ │ │ │ │ │ ├── glass.png │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── scarlet_red.png │ │ │ │ │ │ ├── snow.png │ │ │ │ │ │ ├── style.css │ │ │ │ │ │ └── yahoo-dom-event.js │ │ │ │ └── recaptcha │ │ │ │ │ └── recaptchalib.php │ │ │ ├── favicon.ico │ │ │ ├── hackable │ │ │ │ ├── flags │ │ │ │ │ └── fi.php │ │ │ │ ├── uploads │ │ │ │ │ └── dvwa_email.png │ │ │ │ └── users │ │ │ │ │ ├── 1337.jpg │ │ │ │ │ ├── admin.jpg │ │ │ │ │ ├── gordonb.jpg │ │ │ │ │ ├── pablo.jpg │ │ │ │ │ └── smithy.jpg │ │ │ ├── ids_log.php │ │ │ ├── index.php │ │ │ ├── instructions.php │ │ │ ├── login.php │ │ │ ├── logout.php │ │ │ ├── php.ini │ │ │ ├── phpinfo.php │ │ │ ├── robots.txt │ │ │ ├── security.php │ │ │ ├── setup.php │ │ │ └── vulnerabilities │ │ │ │ ├── brute │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── captcha │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── csrf │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── exec │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── fi │ │ │ │ ├── file1.php │ │ │ │ ├── file2.php │ │ │ │ ├── file3.php │ │ │ │ ├── file4.php │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── include.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── sqli │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ ├── session-input.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── sqli_blind │ │ │ │ ├── cookie-input.php │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── upload │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── view_help.php │ │ │ │ ├── view_source.php │ │ │ │ ├── view_source_all.php │ │ │ │ ├── weak_id │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── xss_d │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ ├── xss_r │ │ │ │ ├── help │ │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ │ ├── high.php │ │ │ │ │ ├── impossible.php │ │ │ │ │ ├── low.php │ │ │ │ │ └── medium.php │ │ │ │ └── xss_s │ │ │ │ ├── help │ │ │ │ └── help.php │ │ │ │ ├── index.php │ │ │ │ └── source │ │ │ │ ├── high.php │ │ │ │ ├── impossible.php │ │ │ │ ├── low.php │ │ │ │ └── medium.php │ │ │ ├── dvwaserver-create.yml │ │ │ ├── dvwaserver-delete.yml │ │ │ └── main.sh │ ├── service_engines │ │ ├── avise1.service │ │ ├── avise2.service │ │ ├── service_engines.yml │ │ └── service_engines_delete.yml │ └── vm_prep │ │ └── prep.yml ├── openshift │ ├── aviconfigs │ │ ├── avi-dns.yml │ │ ├── cloud-modify.yml │ │ ├── ipam_dns-create.yml │ │ └── networks-create.yml │ ├── client │ │ ├── dockerfile │ │ ├── img │ │ │ ├── logo.svg │ │ │ └── polygon.png │ │ ├── k8s_auto.html │ │ ├── kubeclient-create.yml │ │ ├── kubeclient-delete.yml │ │ └── traffic-kube.py │ ├── clusterrole.json │ ├── clusterrolespod.json │ ├── controller_config-prep.yml │ ├── controller_deploy_openshift.yml │ ├── controller_post_check.yml │ ├── controller_service_check.yml │ ├── demo_openshift.yml │ ├── manifests │ │ ├── deploy-manifest.yml │ │ └── gallery-app.yml │ ├── openshift-create.yml │ ├── openshift-delete.yml │ ├── sa.json │ ├── template_setup.json │ └── vm_prep │ │ └── prep-openshift.yml └── openstack │ ├── controller_deploy_openstack.yml │ ├── local.conf │ └── openstack_create.yml ├── hosts ├── vars └── avi_details.yaml └── vm_prep ├── avinet-delete.yml └── avinet.yml /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .history/* 3 | -------------------------------------------------------------------------------- /demos/demo_cleanup.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: nocloud/client/demo-waf/democlient-delete.yml 3 | - import_playbook: nocloud/client/scaleout/scaleoutclient-delete.yml 4 | - import_playbook: nocloud/servers/demo-scaleout/demoscaleoutserver-delete.yml 5 | - import_playbook: nocloud/servers/rdp/rdpserver-delete.yml 6 | - import_playbook: nocloud/servers/waf/dvwaserver-delete.yml 7 | - import_playbook: kubernetes/kubernetes-delete.yml 8 | - import_playbook: kubernetes/client/kubeclient-delete.yml 9 | - import_playbook: openshift/openshift-delete.yml 10 | - import_playbook: nocloud/service_engines/service_engines_delete.yml 11 | - import_playbook: nocloud/avicontroller/controller_delete.yml 12 | - import_playbook: metrics/metrics_delete.yml 13 | - import_playbook: ../vm_prep/avinet-delete.yml 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /demos/kubernetes/aviconfigs/se_enable.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: controllers 3 | become: True 4 | vars_files: 5 | - ../../../vars/avi_details.yaml 6 | roles: 7 | - avinetworks.avisdk 8 | 9 | 10 | tasks: 11 | - avi_api_session: 12 | controller: "{{ controller_ip }}" 13 | username: "{{ username }}" 14 | password: "{{ password }}" 15 | tenant: "{{ tenant | default('admin',true) }}" 16 | http_method: get 17 | path: serviceengine 18 | register: se_results 19 | 20 | 21 | - name: Enable SE 22 | avi_serviceengine: 23 | avi_api_update_method: "patch" 24 | avi_api_patch_op: "replace" 25 | api_version: "{{ api_version }}" 26 | controller: "{{ controller_ip }}" 27 | username: "{{ username }}" 28 | password: "{{ password }}" 29 | tenant: "{{ tenant | default('admin') }}" 30 | uuid: "{{ se_results.obj.results.0.uuid }}" 31 | enable_state: "SE_STATE_ENABLED" 32 | when: se_results.obj.results.0.enable_state == "SE_STATE_DISABLED" 33 | -------------------------------------------------------------------------------- /demos/kubernetes/client/dockerfile: -------------------------------------------------------------------------------- 1 | ############################################################ 2 | # Dockerfile to build avi demo client 3 | # Based on ubuntu:latest 4 | ############################################################ 5 | 6 | # Set the base image to ubuntu:latest 7 | FROM ubuntu:16.04 8 | 9 | WORKDIR /opt/avi/client 10 | 11 | 12 | 13 | ################## BEGIN INSTALLATION ###################### 14 | 15 | # Install client script requirements 16 | RUN apt-get update 17 | RUN apt-get upgrade -y 18 | RUN apt-get install -y curl apache2-utils python-minimal python-requests dnsutils vim 19 | 20 | # Copy Traffic Generation Script and dependencies 21 | 22 | COPY "./traffic-kube.py" "/opt/avi/client/traffic-kube.py" 23 | 24 | RUN chmod a+x /opt/avi/client/traffic-kube.py 25 | 26 | # Execute script 27 | #----NEED TO CREATE A START SCRIPT 28 | CMD ["/usr/bin/python", "/opt/avi/client/traffic-kube.py"] 29 | -------------------------------------------------------------------------------- /demos/kubernetes/client/img/polygon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/kubernetes/client/img/polygon.png -------------------------------------------------------------------------------- /demos/kubernetes/client/kubeclient-create.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Build the Kube Client 3 | hosts: demo_clients 4 | become: True 5 | 6 | tasks: 7 | - name: build the kubeclient base image 8 | docker_image: 9 | path: . 10 | name: kubeclient 11 | tag: latest 12 | state: present 13 | 14 | - name: start kubeclient 15 | docker_container: 16 | name: kubeclient1 17 | hostname: kubeclient1 18 | networks: 19 | - name: avinet 20 | ipv4_address: "169.254.8.8" 21 | purge_networks: yes 22 | dns_servers: 23 | - "169.254.190.1" 24 | detach: yes 25 | log_driver: json-file 26 | log_options: 27 | max-size: 1m 28 | restart_policy: always 29 | state: started 30 | image: kubeclient:latest 31 | -------------------------------------------------------------------------------- /demos/kubernetes/client/kubeclient-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Kube Client 3 | hosts: demo_clients 4 | become: True 5 | 6 | tasks: 7 | - name: delete kubeclient container 8 | docker_container: 9 | name: kubeclient1 10 | state: absent 11 | 12 | 13 | - name: delete the kubeclient base image 14 | docker_image: 15 | name: kubeclient 16 | tag: latest 17 | state: absent 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /demos/kubernetes/client/traffic-kube.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import subprocess 4 | import traceback 5 | from datetime import datetime 6 | import time 7 | 8 | while True: 9 | print '-----> STARTING NEW LOOP' 10 | try: 11 | #cmd = 'while true; do ab -n 100000 -c 5 -f TLS1.0 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.1 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.2 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat; done' 12 | cmd = 'ab -n 100000 -c 2 https://photo.demo.ns.avi/photo' 13 | result = subprocess.check_output(cmd, shell=True) 14 | time.sleep(1) 15 | except: 16 | exception_text = traceback.format_exc() 17 | print(str(datetime.now())+' '+exception_text) 18 | print 'ERROR - restarting' 19 | -------------------------------------------------------------------------------- /demos/kubernetes/clusterbinding.json: -------------------------------------------------------------------------------- 1 | { 2 | "apiVersion": "rbac.authorization.k8s.io/v1beta1", 3 | "kind": "ClusterRoleBinding", 4 | "metadata": { 5 | "name": "avirolebinding", 6 | "namespace": "default" 7 | }, 8 | "roleRef": { 9 | "apiGroup": "rbac.authorization.k8s.io", 10 | "kind": "ClusterRole", 11 | "name": "avirole" 12 | }, 13 | "subjects": [ 14 | { 15 | "kind": "ServiceAccount", 16 | "name": "avi", 17 | "namespace": "default" 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /demos/kubernetes/controller_config-prep.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Prep Avi Controller Config 3 | hosts: kubernetes 4 | become: True 5 | 6 | tasks: 7 | - name: Retrieve Service Account Secret Name 8 | shell: kubectl describe serviceaccount avi -n default | grep Mountable | awk '{print $3'} 9 | register: srvc_account_secret_name 10 | 11 | 12 | - debug: 13 | msg: "{{ srvc_account_secret_name.stdout }}" 14 | 15 | 16 | - name: Retrieve Service Account Secret Name 17 | shell: "kubectl describe secret {{ srvc_account_secret_name.stdout }} -n default | grep token: | awk '{print $2'}" 18 | register: srvc_account_token 19 | 20 | 21 | - debug: 22 | msg: "{{ srvc_account_token.stdout }}" 23 | 24 | 25 | - name: Prepare Controller config 26 | shell: | 27 | cp template_setup.json setup.json 28 | sed -i "s/REPLACE-TOKEN/{{ srvc_account_token.stdout }}/g" setup.json 29 | sed -i "s/REPLACE-IP/{{ ansible_default_ipv4.address }}/g" setup.json 30 | -------------------------------------------------------------------------------- /demos/kubernetes/controller_deploy_kubernetes.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: controllers 3 | become: True 4 | vars_files: 5 | - ../../vars/avi_details.yaml 6 | roles: 7 | - role: avinetworks.avicontroller 8 | con_version: "{{ avi_version }}" 9 | con_disk_gb: 64 10 | con_cores: 8 11 | con_memory_gb: "{{ avi_controller_memory }}" 12 | con_controller_ip: "{{ ansible_default_ipv4.address }}" 13 | con_sysint_port: 8444 14 | con_setup_json: "./setup.json" 15 | con_disk_path: "/opt/avi/controller/{{ avi_version }}" 16 | con_docker_run_params: "--name=avicontroller{{ con_ports_list_string }} --net avinet --label demo=kubernetes --ip 169.254.0.100 -d --privileged{{ con_env_variables_string }}{{ con_mounts_string }} {{ con_image }}" 17 | -------------------------------------------------------------------------------- /demos/kubernetes/demo_kubernetes.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: vm_prep/prep-kube.yml 3 | - import_playbook: ../../vm_prep/avinet.yml 4 | - import_playbook: kubernetes-create.yml 5 | - import_playbook: controller_config-prep.yml 6 | - import_playbook: controller_deploy_kubernetes.yml 7 | - import_playbook: controller_service_check.yml 8 | - import_playbook: aviconfigs/networks-create.yml 9 | - import_playbook: aviconfigs/ipam_dns-create.yml 10 | - import_playbook: aviconfigs/cloud-modify.yml 11 | - import_playbook: aviconfigs/avi-dns.yml 12 | - import_playbook: manifests/deploy-manifest.yml 13 | - import_playbook: client/kubeclient-create.yml 14 | - import_playbook: aviconfigs/se_enable.yml 15 | - import_playbook: controller_post_check.yml 16 | -------------------------------------------------------------------------------- /demos/kubernetes/manifests/deploy-manifest.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Install Kubernetes 3 | hosts: kubernetes 4 | become: True 5 | 6 | tasks: 7 | 8 | - name: Check if Gallery app is already deployed 9 | shell: "kubectl get namespace" 10 | register: app_status 11 | 12 | - name: Deploy Gallery App 13 | shell: kubectl create -f gallery-app.yml 14 | when: "'demo' not in app_status.stdout" 15 | -------------------------------------------------------------------------------- /demos/metrics/avimetrics/avi_controllers.json: -------------------------------------------------------------------------------- 1 | {"controllers":[ 2 | { 3 | "avi_controller":"avicontroller.avinet", 4 | "location":"datacenter1", 5 | "environment":"demo", 6 | "avi_user":"admin", 7 | "_comment":"ACCEPTS PLAIN TEXT OR BASE64 ENCODED PASSWORD", 8 | "avi_pass":"AviDemo1!" 9 | }] 10 | } 11 | -------------------------------------------------------------------------------- /demos/metrics/avimetrics/avimetrics-create.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Build the Avimetrics container 3 | hosts: metrics_hosts 4 | become: True 5 | 6 | tasks: 7 | - name: build the avimetrics base image 8 | docker_image: 9 | path: . 10 | name: avimetrics 11 | tag: latest 12 | state: present 13 | 14 | - name: start avimetrics 15 | docker_container: 16 | name: avimetrics 17 | hostname: avimetrics 18 | networks: 19 | - name: avinet 20 | ipv4_address: "169.254.100.102" 21 | env: 22 | EN_METRIC_ENDPOINT: influxdb 23 | log_driver: json-file 24 | log_options: 25 | max-size: 1m 26 | purge_networks: yes 27 | detach: yes 28 | restart_policy: always 29 | state: started 30 | image: avimetrics:latest 31 | -------------------------------------------------------------------------------- /demos/metrics/avimetrics/avimetrics-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Avimetrics container 3 | hosts: metrics_hosts 4 | become: True 5 | 6 | tasks: 7 | - name: delete avimetrics container 8 | docker_container: 9 | name: avimetrics 10 | state: absent 11 | 12 | 13 | - name: delete the avimetrics demo image 14 | docker_image: 15 | name: avimetrics 16 | tag: latest 17 | state: absent 18 | 19 | 20 | - name: delete the python base image 21 | docker_image: 22 | name: avinetworks/avi-metrics 23 | tag: latest 24 | state: absent 25 | -------------------------------------------------------------------------------- /demos/metrics/avimetrics/dockerfile: -------------------------------------------------------------------------------- 1 | ############################################################ 2 | # Dockerfile to build python avi-monitor script container 3 | # Based on alpine:edge 4 | ############################################################ 5 | 6 | # Set the base image to alpine:edge 7 | FROM avinetworks/avi-metrics:latest 8 | 9 | # Set the working directory 10 | WORKDIR /usr/src/avi 11 | 12 | # File Author / Maintainer 13 | MAINTAINER mkarnowski@avinetworks.com 14 | 15 | 16 | ################## BEGIN INSTALLATION ###################### 17 | 18 | # Set Docker environment variable 19 | ENV EN_DOCKER=True 20 | 21 | # Copy scripts to directory 22 | COPY "avi_controllers.json" "/usr/src/avi" 23 | COPY "influxdb.json" "/usr/src/avi" 24 | 25 | 26 | -------------------------------------------------------------------------------- /demos/metrics/avimetrics/influxdb.json: -------------------------------------------------------------------------------- 1 | {"influxdb": 2 | { 3 | "server": "169.254.100.100", 4 | "server_port": 8086, 5 | "protocol": "http", 6 | "db": "avi", 7 | "_comment":"Change metric_prefix only if you need to define a prefix", 8 | "metric_prefix": "", 9 | "_comment":"If using auth on influxdb set auth-enabled to true and modify the credential values", 10 | "auth-enabled": false, 11 | "username": "admin", 12 | "password": "password" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /demos/metrics/grafana/dashboard.yml: -------------------------------------------------------------------------------- 1 | apiVersion: 1 2 | 3 | providers: 4 | - name: 'default' 5 | orgId: 1 6 | folder: '' 7 | type: file 8 | disableDeletion: true 9 | editable: true 10 | options: 11 | path: /var/lib/grafana/dashboards 12 | -------------------------------------------------------------------------------- /demos/metrics/grafana/grafana-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Grafana container 3 | hosts: metrics_hosts 4 | become: True 5 | 6 | tasks: 7 | - name: delete grafana container 8 | docker_container: 9 | name: grafana 10 | state: absent 11 | 12 | 13 | - name: delete the grafana demo image 14 | docker_image: 15 | name: grafana 16 | tag: latest 17 | state: absent 18 | 19 | 20 | - name: delete the grafana base image 21 | docker_image: 22 | name: grafana/grafana 23 | tag: latest 24 | state: absent 25 | -------------------------------------------------------------------------------- /demos/metrics/influxdb/influxdb-create.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Build the Influxdb Container 3 | hosts: metrics_hosts 4 | become: True 5 | 6 | tasks: 7 | - name: start the Influxdb container 8 | docker_container: 9 | name: influxdb 10 | hostname: influxdb 11 | networks: 12 | - name: avinet 13 | ipv4_address: "169.254.100.100" 14 | purge_networks: yes 15 | env: 16 | INFLUXDB_REPORTING_DISABLED: true 17 | INFLUXDB_DB: avi 18 | volumes: influxdb:/var/lib/influxdb 19 | log_driver: json-file 20 | log_options: 21 | max-size: 200m 22 | detach: yes 23 | restart_policy: always 24 | state: started 25 | image: influxdb:latest 26 | 27 | -------------------------------------------------------------------------------- /demos/metrics/influxdb/influxdb-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Avi Influxdb Container 3 | hosts: metrics_hosts 4 | become: True 5 | 6 | tasks: 7 | 8 | - name: delete the influxdb container 9 | docker_container: 10 | name: influxdb 11 | keep_volumes: no 12 | state: absent 13 | 14 | 15 | - name: cleanup the influxdb volume 16 | docker_volume: 17 | name: influxdb 18 | state: absent 19 | 20 | 21 | - name: delete the influxdb base image 22 | docker_image: 23 | name: influxdb:latest 24 | tag: latest 25 | state: absent 26 | -------------------------------------------------------------------------------- /demos/metrics/metrics_delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: influxdb/influxdb-delete.yml 3 | - import_playbook: avimetrics/avimetrics-delete.yml 4 | - import_playbook: grafana/grafana-delete.yml 5 | -------------------------------------------------------------------------------- /demos/metrics/metrics_hosts: -------------------------------------------------------------------------------- 1 | [metrics_hosts] 2 | localhost ansible_connection=local 3 | -------------------------------------------------------------------------------- /demos/metrics/metrics_install.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: influxdb/influxdb-create.yml 3 | - import_playbook: avimetrics/avimetrics-create.yml 4 | - import_playbook: grafana/grafana-create.yml 5 | -------------------------------------------------------------------------------- /demos/nocloud/applications/applications.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: demo_avi/app.yml 3 | - import_playbook: scaleout/app.yml 4 | - import_playbook: waf/app.yml 5 | -------------------------------------------------------------------------------- /demos/nocloud/applications/demo_avi/app.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | connection: local 4 | vars_files: 5 | - ../../../../vars/avi_details.yaml 6 | vars: 7 | - api_version: 17.2.7 8 | - avi_controller: "{{ controller_ip }}" 9 | - avi_username: "{{ username }}" 10 | - avi_password: "{{ password }}" 11 | roles: 12 | - role: avinetworks.avisdk 13 | tasks: 14 | - name: Avi Application | Setup Avi-Demo-VS 15 | include_role: 16 | name: avinetworks.aviconfig 17 | vars: 18 | avi_config_file: config.yml 19 | -------------------------------------------------------------------------------- /demos/nocloud/applications/scaleout/app.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | connection: local 4 | vars_files: 5 | - ../../../../vars/avi_details.yaml 6 | vars: 7 | - api_version: 17.2.7 8 | - avi_controller: "{{ controller_ip }}" 9 | - avi_username: "{{ username }}" 10 | - avi_password: "{{ password }}" 11 | roles: 12 | - role: avinetworks.avisdk 13 | tasks: 14 | - name: Avi Application | Setup Avi-Scaleout-VS 15 | include_role: 16 | name: avinetworks.aviconfig 17 | vars: 18 | avi_config_file: config.yml 19 | -------------------------------------------------------------------------------- /demos/nocloud/applications/waf/app.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | connection: local 4 | vars_files: 5 | - ../../../../vars/avi_details.yaml 6 | vars: 7 | - api_version: 17.2.7 8 | - avi_controller: "{{ controller_ip }}" 9 | - avi_username: "{{ username }}" 10 | - avi_password: "{{ password }}" 11 | roles: 12 | - role: avinetworks.avisdk 13 | tasks: 14 | - name: Avi Application | Setup WAF-VS 15 | include_role: 16 | name: avinetworks.aviconfig 17 | vars: 18 | avi_config_file: config.yml 19 | -------------------------------------------------------------------------------- /demos/nocloud/avicontroller/controller_deploy.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: controllers 3 | become: yes 4 | vars_files: 5 | - ../../../vars/avi_details.yaml 6 | 7 | roles: 8 | - role: avinetworks.avicontroller 9 | con_version: "{{ avi_version }}" 10 | con_disk_gb: 64 11 | con_cores: 8 12 | con_memory_gb: "{{ avi_controller_memory }}" 13 | con_controller_ip: "{{ ansible_default_ipv4.address }}" 14 | con_setup_json: "./setup.json" 15 | con_disk_path: "/opt/avi/controller/{{ avi_version }}" 16 | con_docker_run_params: "--name=avicontroller{{ con_ports_list_string }} --net avinet --label demo=default --ip 169.254.0.100 -d --privileged{{ con_env_variables_string }}{{ con_mounts_string }} {{ con_image }}" 17 | -------------------------------------------------------------------------------- /demos/nocloud/client/demo-waf/democlient-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Avi Demo Clients 3 | hosts: demo_clients 4 | become: True 5 | 6 | tasks: 7 | 8 | - name: delete the democlient1 container 9 | docker_container: 10 | name: democlient1 11 | state: absent 12 | 13 | 14 | - name: delete the democlient2 container 15 | docker_container: 16 | name: democlient2 17 | state: absent 18 | 19 | 20 | - name: delete the democlient base image 21 | docker_image: 22 | name: democlient 23 | tag: latest 24 | state: absent 25 | -------------------------------------------------------------------------------- /demos/nocloud/client/demo-waf/netem: -------------------------------------------------------------------------------- 1 | tc qdisc add dev eth0 handle 1: root htb direct_qlen 1000 2 | 3 | tc class add dev eth0 parent 1: classid 1:1 htb rate 1000Mbps 4 | 5 | tc class add dev eth0 parent 1:1 classid 1:11 htb rate 100Mbps 6 | 7 | tc qdisc add dev eth0 parent 1:11 handle 10: netem delay 900ms 100ms 25% 8 | 9 | tc filter add dev eth0 protocol ip prio 1 u32 match ip src 27.97.1.2 flowid 1:11 10 | 11 | tc class add dev eth0 parent 1:1 classid 1:12 htb rate 100Mbps 12 | 13 | tc qdisc add dev eth0 parent 1:12 handle 20: netem delay 50ms 45ms 25% 14 | 15 | tc filter add dev eth0 protocol ip prio 1 u32 match ip src 0.0.0.0/0 flowid 1:12 16 | -------------------------------------------------------------------------------- /demos/nocloud/client/scaleout/scaleout/traffic-ecc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import subprocess 4 | import traceback 5 | from datetime import datetime 6 | 7 | 8 | while True: 9 | print '-----> STARTING NEW LOOP' 10 | try: 11 | #cmd = 'while true; do ab -n 100000 -c 5 -f TLS1.0 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.1 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.2 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat; done' 12 | cmd = 'ab -n 100000 -c 5 -f TLS1.0 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.1 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.2 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat' 13 | result = subprocess.check_output(cmd, shell=True) 14 | except: 15 | exception_text = traceback.format_exc() 16 | print(str(datetime.now())+' '+exception_text) 17 | print 'ERROR - restarting' 18 | -------------------------------------------------------------------------------- /demos/nocloud/client/scaleout/scaleout/traffic-rsa.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import subprocess 4 | import traceback 5 | from datetime import datetime 6 | 7 | 8 | while True: 9 | print '-----> STARTING NEW LOOP' 10 | try: 11 | #cmd = 'while true; do ab -n 100000 -c 5 -f TLS1.0 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.1 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.2 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat; done' 12 | cmd = 'ab -n 100000 -c 5 -f TLS1.0 -Z AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.1 -Z AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.2 -Z AES256-SHA https://scaleout.demovip.avi.local/100k.dat' 13 | result = subprocess.check_output(cmd, shell=True) 14 | except: 15 | exception_text = traceback.format_exc() 16 | print(str(datetime.now())+' '+exception_text) 17 | print 'ERROR - restarting' 18 | -------------------------------------------------------------------------------- /demos/nocloud/client/scaleout/scaleoutclient-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Scaleout Clients 3 | hosts: demo_clients 4 | become: True 5 | 6 | tasks: 7 | 8 | - name: delete scaleoutclient1 9 | docker_container: 10 | name: scaleoutclient1 11 | state: absent 12 | 13 | - name: delete the scaleoutclient base image 14 | docker_image: 15 | name: scaleoutclient 16 | tag: latest 17 | state: absent 18 | -------------------------------------------------------------------------------- /demos/nocloud/client/scaleout/startup.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import subprocess 4 | from multiprocessing import Process 5 | import os 6 | import time 7 | 8 | 9 | 10 | #----- USE ENV VARS TO FIND VS IPs 11 | #----- os.environ 12 | 13 | 14 | 15 | 16 | #----- Add VS FQDN entries 17 | #cmd = 'echo "169.254.10.2 scaleout.demovip.avi.local" >> /etc/hosts' 18 | #result = subprocess.check_output(cmd, shell=True) 19 | #time.sleep(1) 20 | 21 | 22 | 23 | 24 | 25 | script_list = [ 26 | '/usr/bin/python /opt/avi/client/scaleout/traffic-ecc.py >> /opt/avi/client/scaleout/traffic-ecc.log', 27 | '/usr/bin/python /opt/avi/client/scaleout/traffic-rsa.py >> /opt/avi/client/scaleout/traffic-rsa.log' 28 | ] 29 | 30 | 31 | def run_script(script): 32 | result = subprocess.check_output(script, shell=True) 33 | 34 | 35 | 36 | 37 | while True: 38 | proc = [] 39 | for s in script_list: 40 | p = Process(target = run_script, args = (s,)) 41 | p.start() 42 | proc.append(p) 43 | for p in proc: 44 | p.join() 45 | -------------------------------------------------------------------------------- /demos/nocloud/demo_nocloud.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: vm_prep/prep.yml 3 | - import_playbook: ../../vm_prep/avinet.yml 4 | - import_playbook: avicontroller/controller_deploy.yml 5 | - import_playbook: servers/demo-scaleout/demoscaleoutserver-create.yml 6 | - import_playbook: servers/rdp/rdpserver-create.yml 7 | - import_playbook: servers/waf/dvwaserver-create.yml 8 | - import_playbook: client/demo-waf/democlient-create.yml 9 | - import_playbook: client/scaleout/scaleoutclient-create.yml 10 | - import_playbook: se_group/se_group.yml 11 | - import_playbook: service_engines/service_engines.yml 12 | - import_playbook: applications/applications.yml 13 | - import_playbook: avicontroller/controller_post_check.yml 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /demos/nocloud/nocloud_change_ver.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: service_engines/service_engines_delete.yml 3 | - import_playbook: avicontroller/controller_delete.yml 4 | - import_playbook: avicontroller/controller_change_ver.yml 5 | - import_playbook: service_engines/service_engines.yml 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /demos/nocloud/se_group/se_group.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: controllers 3 | roles: 4 | - role: avinetworks.avisdk 5 | vars_files: 6 | - ../../../vars/avi_details.yaml 7 | 8 | tasks: 9 | - name: Configure tunnel mode in service engine group 10 | avi_serviceenginegroup: 11 | controller: "{{ controller_ip }}" 12 | username: "{{ username }}" 13 | password: "{{ password }}" 14 | state: present 15 | api_version: "{{ api_version }}" 16 | name: "Default-Group" 17 | se_tunnel_mode: "2" 18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/demoscaleoutserver-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the Demo Web Servers 3 | hosts: demo_servers 4 | become: True 5 | 6 | tasks: 7 | - name: delete demoserver1 container 8 | docker_container: 9 | name: demoserver1 10 | state: absent 11 | 12 | 13 | 14 | - name: delete demoserver2 container 15 | docker_container: 16 | name: demoserver2 17 | state: absent 18 | 19 | 20 | 21 | - name: delete demoserver3 container 22 | docker_container: 23 | name: demoserver3 24 | state: absent 25 | 26 | 27 | 28 | - name: delete the demoserver base image 29 | docker_image: 30 | name: demoserver 31 | tag: latest 32 | state: absent 33 | -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/dockerfile: -------------------------------------------------------------------------------- 1 | FROM httpd:alpine 2 | 3 | RUN rm /usr/local/apache2/htdocs/index.html 4 | COPY html /usr/local/apache2/htdocs 5 | -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/assets/avi.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/assets/avi.mp4 -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/assets/avi.webm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/assets/avi.webm -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/arrow.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/arrow_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/arrow_more.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/bg.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/bg_mobi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/bg_mobi.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/favicon.ico -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_bio_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_bio_twitter.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_culture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_culture.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_email.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_jobs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_jobs.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_linkedin.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_menu.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_perks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_perks.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_phone.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_pin.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_team.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_team.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/icon_twitter.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo_bottom.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo_greylock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo_greylock.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo_lightspeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/logo_lightspeed.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_asheem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_asheem.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_barry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_barry.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_guru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_guru.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_murali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_murali.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_ranga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_ranga.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_umesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/pic_umesh.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/rocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/avinetworks/static/avi/img/rocket.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/favicon_v2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/favicon_v2.ico -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/foot-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/foot-logo.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/header.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/icon_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/icon_search.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/logo.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/ping: -------------------------------------------------------------------------------- 1 | __lc_ping_915417({"next_ping_delay":7}); -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/s2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/s2.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/s3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/s3.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/s4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/s4.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/saved_resource.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/service-icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/sf14g.js: -------------------------------------------------------------------------------- 1 | var tl813v = sf14gv; 2 | (function() { 3 | var tl813 = document.createElement('script'); tl813.type = 'text/javascript'; tl813.async = true; 4 | tl813.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + '1.tl813.com/tl813.js'; 5 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tl813, s); 6 | })(); 7 | -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/tl813.js: -------------------------------------------------------------------------------- 1 | var trackalyzer={}; if(typeof llnocookies === 'undefined'){var llnocookies};trackalyzer.leadlanderid=tl813v;trackalyzer.leadlanderpage=escape(location.href);trackalyzer.leadlanderref=escape(document.referrer);trackalyzer.leadlanderlinkreefer="?r="+trackalyzer.leadlanderref+"&p="+trackalyzer.leadlanderpage+"&llactid="+trackalyzer.leadlanderid+"&llnocookies="+llnocookies;if(document.location.protocol==="https:"){trackalyzer.leadlanderlinkreefer="https://1.tl813.com/tl813.asp"+trackalyzer.leadlanderlinkreefer}else{trackalyzer.leadlanderlinkreefer="http://1.tl813.com/tl813.asp"+trackalyzer.leadlanderlinkreefer}var myImage=new Image(0,0);myImage.src=trackalyzer.leadlanderlinkreefer -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/webinar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/webinar.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/imgs/whitepaper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/demo-scaleout/html/imgs/whitepaper.png -------------------------------------------------------------------------------- /demos/nocloud/servers/demo-scaleout/html/index_old.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Welcome - Served from port 80! 4 | 5 | 6 |

Welcome!

7 | 8 | 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/rdp/admin/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/rdp/admin/.gtkrc-2.0: -------------------------------------------------------------------------------- 1 | # DO NOT EDIT! This file will be overwritten by LXAppearance. 2 | # Any customization should be done in ~/.gtkrc-2.0.mine instead. 3 | 4 | include "/home/user/.gtkrc-2.0.mine" 5 | gtk-theme-name="Paper" 6 | gtk-icon-theme-name="Paper" 7 | gtk-font-name="Sans 10" 8 | gtk-cursor-theme-size=0 9 | gtk-toolbar-style=GTK_TOOLBAR_BOTH 10 | gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR 11 | gtk-button-images=1 12 | gtk-menu-images=1 13 | gtk-enable-event-sounds=1 14 | gtk-enable-input-feedback-sounds=1 15 | gtk-xft-antialias=1 16 | gtk-xft-hinting=1 17 | gtk-xft-hintstyle="hintfull" 18 | gtk-xft-rgba="none" -------------------------------------------------------------------------------- /demos/nocloud/servers/rdp/etc/supervisord.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | nodaemon=true 3 | 4 | [program:xvfb] 5 | command=/usr/bin/Xvfb :1 -screen 0 1920x1080x24 6 | autorestart=true 7 | user=admin 8 | priority=100 9 | 10 | [program:udev] 11 | command=/sbin/udevd 12 | user=root 13 | priority=100 14 | 15 | [program:xfce4-session] 16 | command=su - admin -c "dbus-launch /usr/bin/xfce4-session --display=:1" 17 | user=root 18 | autorestart=true 19 | priority=200 20 | 21 | [program:xrdp] 22 | command=/usr/sbin/xrdp --nodaemon 23 | user=root 24 | autorestart=true 25 | priority=200 26 | 27 | [program:xrdp-sesman] 28 | command=/usr/sbin/xrdp-sesman --nodaemon 29 | user=root 30 | autorestart=true 31 | priority=200 32 | 33 | [program:x11vnc] 34 | command=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :1 -nopw -wait 5 -shared 35 | user=admin 36 | autorestart=true 37 | priority=200 38 | 39 | [program:sshd] 40 | command=/usr/sbin/sshd -D 41 | user=root 42 | autorestart=true 43 | priority=200 44 | -------------------------------------------------------------------------------- /demos/nocloud/servers/rdp/rdpserver-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete rdpserver 3 | hosts: demo_servers 4 | become: True 5 | 6 | tasks: 7 | 8 | - name: delete rdpserver 9 | docker_container: 10 | name: rdpserver 11 | state: absent 12 | 13 | - name: delete rdpserver base image 14 | docker_image: 15 | #name: rdpserver 16 | name: mkarnowski/diab 17 | #tag: latest 18 | tag: rdpserver 19 | state: absent 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | 3 | RUN apt-get update 4 | RUN apt-get dist-upgrade -y 5 | RUN DEBIAN_FRONTEND=noninteractive apt-get install debconf-utils 6 | RUN echo mysql-server-5.5 mysql-server/root_password password wafdb | debconf-set-selections 7 | RUN echo mysql-server-5.5 mysql-server/root_password_again password wafdb | debconf-set-selections 8 | RUN DEBIAN_FRONTEND=noninteractive apt-get install -y apache2 mysql-server php5 php5-mysql php-pear php5-gd 9 | RUN apt-get clean 10 | RUN rm -rf /var/lib/apt/lists/* 11 | 12 | COPY dvwa/php.ini /etc/php5/apache2/php.ini 13 | COPY dvwa /var/www/html 14 | COPY dvwa.sql / 15 | 16 | 17 | RUN chown www-data:www-data -R /var/www/html 18 | RUN rm /var/www/html/index.html 19 | 20 | 21 | COPY main.sh / 22 | RUN chmod a+x /main.sh 23 | ENTRYPOINT ["/main.sh"] 24 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/.htaccess: -------------------------------------------------------------------------------- 1 | # Only set these if PHP 5 is loaded as an apache module 2 | 3 | php_flag magic_quotes_gpc Off 4 | #php_flag allow_url_fopen on 5 | #php_flag allow_url_include on 6 | 7 | 8 | # Only set these if PHP 4 is loaded as an apache module 9 | 10 | php_flag magic_quotes_gpc Off 11 | #php_flag allow_url_fopen on 12 | #php_flag allow_url_include on 13 | 14 | 15 | # Limit access to localhost 16 | # 17 | # order deny,allow 18 | # deny from all 19 | # allow from 127.0.0.1 20 | # 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/docs/DVWA_v1.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/docs/DVWA_v1.3.pdf -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/docs/pdf.html: -------------------------------------------------------------------------------- 1 | Damn Vulnerable Web Application (DVWA) Official Documentation PDF v1.3 2 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/css/help.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #e7e7e7; 3 | font-family: Arial, Helvetica, sans-serif; 4 | font-size: 13px; 5 | } 6 | 7 | h1 { 8 | font-size: 25px; 9 | } 10 | 11 | div#container { 12 | } 13 | 14 | div#code { 15 | background-color: #ffffff; 16 | } 17 | 18 | div#area { 19 | margin-left: 30px; 20 | } 21 | 22 | span.spoiler { 23 | background-color: black; 24 | color: black; 25 | } 26 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/css/source.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #e7e7e7; 3 | font-family: Arial, Helvetica, sans-serif; 4 | font-size: 13px; 5 | } 6 | 7 | h1 { 8 | font-size: 25px; 9 | } 10 | 11 | div#container { 12 | } 13 | 14 | div#code { 15 | background-color: #ffffff; 16 | } 17 | 18 | div#area { 19 | margin-left: 30px; 20 | } 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/RandomStorm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/RandomStorm.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/dollar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/dollar.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/lock.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/login_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/login_logo.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/logo.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/spanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/spanner.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/dvwa/images/warning.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/dvwa/js/dvwaPage.js: -------------------------------------------------------------------------------- 1 | /* Help popup */ 2 | 3 | function popUp(URL) { 4 | day = new Date(); 5 | id = day.getTime(); 6 | eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=300,left = 540,top = 250');"); 7 | } 8 | 9 | /* Form validation */ 10 | 11 | function validate_required(field,alerttxt) 12 | { 13 | with (field) { 14 | if (value==null||value=="") { 15 | alert(alerttxt);return false; 16 | } 17 | else { 18 | return true; 19 | } 20 | } 21 | } 22 | 23 | function validateGuestbookForm(thisform) { 24 | with (thisform) { 25 | 26 | // Guestbook form 27 | if (validate_required(txtName,"Name can not be empty.")==false) 28 | {txtName.focus();return false;} 29 | 30 | if (validate_required(mtxMessage,"Message can not be empty.")==false) 31 | {mtxMessage.focus();return false;} 32 | 33 | } 34 | } 35 | 36 | function confirmClearGuestbook() { 37 | return confirm("Are you sure you want to clear the guestbook?"); 38 | } 39 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/docs/examples/cakephp/README: -------------------------------------------------------------------------------- 1 | PHPIDS 2 | 3 | Requirements: PHP5, SimpleXML 4 | 5 | Copyright (c) 2007 PHPIDS (http://php-ids.org) 6 | 7 | This program is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; version 2 of the license. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | 17 | == IMPORTANT == 18 | Please read header comments in ids.php for further information on how to 19 | install this software 20 | == IMPORTANT == -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/docs/examples/cakephp/intrusion.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Generated Documentation 4 | 5 | 6 | 7 | 8 |

Generated Documentation

9 | Welcome to default!
10 |
11 | This documentation was generated by phpDocumentor v1.4.2
12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/docs/phpdocumentor/media/banner.css: -------------------------------------------------------------------------------- 1 | body 2 | { 3 | background-color: #CCCCFF; 4 | margin: 0px; 5 | padding: 0px; 6 | } 7 | 8 | /* Banner (top bar) classes */ 9 | 10 | .banner { } 11 | 12 | .banner-menu 13 | { 14 | clear: both; 15 | padding: .5em; 16 | border-top: 2px solid #6666AA; 17 | } 18 | 19 | .banner-title 20 | { 21 | text-align: right; 22 | font-size: 20pt; 23 | font-weight: bold; 24 | margin: .2em; 25 | } 26 | 27 | .package-selector 28 | { 29 | background-color: #AAAADD; 30 | border: 1px solid black; 31 | color: yellow; 32 | } 33 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/tmp/phpids_log.txt: -------------------------------------------------------------------------------- 1 | "local/unknown",2010-03-15T23:07:01+00:00,72,"xss csrf id rfe lfi sqli","REQUEST.test=%22%3E%3Cscript%3Eeval%28window.name%29%3C%2Fscript%3E GET.test=%22%3E%3Cscript%3Eeval%28window.name%29%3C%2Fscript%3E","%2Fdvwa%2Fsecurity.php%3Ftest%3D%2522%253E%253Cscript%253Eeval%28window.name%29%253C%2Fscript%253E","127.0.0.1" 2 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier.auto.php: -------------------------------------------------------------------------------- 1 | purify($html, $config); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier.path.php: -------------------------------------------------------------------------------- 1 | 1.0) $result = '1'; 16 | return $result; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php: -------------------------------------------------------------------------------- 1 | def = $def; 16 | $this->element = $element; 17 | } 18 | /** 19 | * Checks if CurrentToken is set and equal to $this->element 20 | */ 21 | public function validate($string, $config, $context) { 22 | $token = $context->get('CurrentToken', true); 23 | if ($token && $token->name == $this->element) return false; 24 | return $this->def->validate($string, $config, $context); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/HTML/Bool.php: -------------------------------------------------------------------------------- 1 | name = $name;} 13 | 14 | public function validate($string, $config, $context) { 15 | if (empty($string)) return false; 16 | return $this->name; 17 | } 18 | 19 | /** 20 | * @param $string Name of attribute 21 | */ 22 | public function make($string) { 23 | return new HTMLPurifier_AttrDef_HTML_Bool($string); 24 | } 25 | 26 | } 27 | 28 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/HTML/FrameTarget.php: -------------------------------------------------------------------------------- 1 | valid_values === false) $this->valid_values = $config->get('Attr', 'AllowedFrameTargets'); 16 | return parent::validate($string, $config, $context); 17 | } 18 | 19 | } 20 | 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/Text.php: -------------------------------------------------------------------------------- 1 | parseCDATA($string); 11 | } 12 | 13 | } 14 | 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/URI/Email.php: -------------------------------------------------------------------------------- 1 | " 12 | // that needs more percent encoding to be done 13 | if ($string == '') return false; 14 | $string = trim($string); 15 | $result = preg_match('/^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i', $string); 16 | return $result ? $string : false; 17 | } 18 | 19 | } 20 | 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/Background.php: -------------------------------------------------------------------------------- 1 | confiscateAttr($attr, 'background'); 13 | // some validation should happen here 14 | 15 | $this->prependCSS($attr, "background-image:url($background);"); 16 | 17 | return $attr; 18 | 19 | } 20 | 21 | } 22 | 23 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/BdoDir.php: -------------------------------------------------------------------------------- 1 | get('Attr', 'DefaultTextDir'); 14 | return $attr; 15 | } 16 | 17 | } 18 | 19 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/BgColor.php: -------------------------------------------------------------------------------- 1 | confiscateAttr($attr, 'bgcolor'); 13 | // some validation should happen here 14 | 15 | $this->prependCSS($attr, "background-color:$bgcolor;"); 16 | 17 | return $attr; 18 | 19 | } 20 | 21 | } 22 | 23 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/Border.php: -------------------------------------------------------------------------------- 1 | confiscateAttr($attr, 'border'); 11 | // some validation should happen here 12 | $this->prependCSS($attr, "border:{$border_width}px solid;"); 13 | return $attr; 14 | } 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/Lang.php: -------------------------------------------------------------------------------- 1 | name = $name; 14 | $this->cssName = $css_name ? $css_name : $name; 15 | } 16 | 17 | public function transform($attr, $config, $context) { 18 | if (!isset($attr[$this->name])) return $attr; 19 | $length = $this->confiscateAttr($attr, $this->name); 20 | if(ctype_digit($length)) $length .= 'px'; 21 | $this->prependCSS($attr, $this->cssName . ":$length;"); 22 | return $attr; 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/Name.php: -------------------------------------------------------------------------------- 1 | confiscateAttr($attr, 'name'); 12 | if ( isset($attr['id'])) return $attr; 13 | $attr['id'] = $id; 14 | return $attr; 15 | } 16 | 17 | } 18 | 19 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/SafeEmbed.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | class HTMLPurifier_AttrTransform_ScriptRequired extends HTMLPurifier_AttrTransform 7 | { 8 | public function transform($attr, $config, $context) { 9 | if (!isset($attr['type'])) { 10 | $attr['type'] = 'text/javascript'; 11 | } 12 | return $attr; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrTransform/Textarea.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | class HTMLPurifier_AttrTransform_Textarea extends HTMLPurifier_AttrTransform 7 | { 8 | 9 | public function transform($attr, $config, $context) { 10 | // Calculated from Firefox 11 | if (!isset($attr['cols'])) $attr['cols'] = '22'; 12 | if (!isset($attr['rows'])) $attr['rows'] = '3'; 13 | return $attr; 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ChildDef/Empty.php: -------------------------------------------------------------------------------- 1 | namespace = $namespace; 21 | $this->name = $name; 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigDef/Namespace.php: -------------------------------------------------------------------------------- 1 | namespace = $namespace; 13 | $this->directive = $directive; 14 | } 15 | 16 | /** 17 | * @warning This is NOT magic, to ensure that people don't abuse SPL and 18 | * cause problems for PHP 5.0 support. 19 | */ 20 | public function toString() { 21 | return $this->namespace . '.' . $this->directive; 22 | } 23 | 24 | public static function make($id) { 25 | list($namespace, $directive) = explode('.', $id); 26 | return new HTMLPurifier_ConfigSchema_Interchange_Id($namespace, $directive); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Namespace.php: -------------------------------------------------------------------------------- 1 | 8 | This directive can be used to add custom auto-format injectors. 9 | Specify an array of injector names (class name minus the prefix) 10 | or concrete implementations. Injector class must exist. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt: -------------------------------------------------------------------------------- 1 | AutoFormat.DisplayLinkURI 2 | TYPE: bool 3 | VERSION: 3.2.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | This directive turns on the in-text display of URIs in <a> tags, and disables 8 | those links. For example, example becomes 9 | example (http://example.com). 10 |

11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt: -------------------------------------------------------------------------------- 1 | AutoFormat.Linkify 2 | TYPE: bool 3 | VERSION: 2.0.1 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 |

8 | This directive turns on linkification, auto-linking http, ftp and 9 | https URLs. a tags with the href attribute 10 | must be allowed. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt: -------------------------------------------------------------------------------- 1 | AutoFormat.PurifierLinkify 2 | TYPE: bool 3 | VERSION: 2.0.1 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 |

8 | Internal auto-formatter that converts configuration directives in 9 | syntax %Namespace.Directive to links. a tags 10 | with the href attribute must be allowed. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.txt: -------------------------------------------------------------------------------- 1 | AutoFormat 2 | DESCRIPTION: Configuration for activating auto-formatting functionality (also known as Injectors) 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.PurifierLinkifyDocURL.txt: -------------------------------------------------------------------------------- 1 | AutoFormatParam.PurifierLinkifyDocURL 2 | TYPE: string 3 | VERSION: 2.0.1 4 | DEFAULT: '#%s' 5 | --DESCRIPTION-- 6 | 7 |

8 | Location of configuration documentation to link to, let %s substitute 9 | into the configuration's namespace and directive names sans the percent 10 | sign. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.txt: -------------------------------------------------------------------------------- 1 | AutoFormatParam 2 | DESCRIPTION: Configuration for customizing auto-formatting functionality 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt: -------------------------------------------------------------------------------- 1 | CSS.AllowImportant 2 | TYPE: bool 3 | DEFAULT: false 4 | VERSION: 3.1.0 5 | --DESCRIPTION-- 6 | This parameter determines whether or not !important cascade modifiers should 7 | be allowed in user CSS. If false, !important will stripped. 8 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt: -------------------------------------------------------------------------------- 1 | CSS.AllowTricky 2 | TYPE: bool 3 | DEFAULT: false 4 | VERSION: 3.1.0 5 | --DESCRIPTION-- 6 | This parameter determines whether or not to allow "tricky" CSS properties and 7 | values. Tricky CSS properties/values can drastically modify page layout or 8 | be used for deceptive practices but do not directly constitute a security risk. 9 | For example, display:none; is considered a tricky property that 10 | will only be allowed if this directive is set to true. 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt: -------------------------------------------------------------------------------- 1 | CSS.AllowedProperties 2 | TYPE: lookup/null 3 | VERSION: 3.1.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | If HTML Purifier's style attributes set is unsatisfactory for your needs, 9 | you can overload it with your own list of tags to allow. Note that this 10 | method is subtractive: it does its job by taking away from HTML Purifier 11 | usual feature set, so you cannot add an attribute that HTML Purifier never 12 | supported in the first place. 13 |

14 |

15 | Warning: If another directive conflicts with the 16 | elements here, that directive will win and override. 17 |

18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt: -------------------------------------------------------------------------------- 1 | CSS.DefinitionRev 2 | TYPE: int 3 | VERSION: 2.0.0 4 | DEFAULT: 1 5 | --DESCRIPTION-- 6 | 7 |

8 | Revision identifier for your custom definition. See 9 | %HTML.DefinitionRev for details. 10 |

11 | 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt: -------------------------------------------------------------------------------- 1 | CSS.MaxImgLength 2 | TYPE: string/null 3 | DEFAULT: '1200px' 4 | VERSION: 3.1.1 5 | --DESCRIPTION-- 6 |

7 | This parameter sets the maximum allowed length on img tags, 8 | effectively the width and height properties. 9 | Only absolute units of measurement (in, pt, pc, mm, cm) and pixels (px) are allowed. This is 10 | in place to prevent imagecrash attacks, disable with null at your own risk. 11 | This directive is similar to %HTML.MaxImgLength, and both should be 12 | concurrently edited, although there are 13 | subtle differences in the input format (the CSS max is a number with 14 | a unit). 15 |

16 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt: -------------------------------------------------------------------------------- 1 | CSS.Proprietary 2 | TYPE: bool 3 | VERSION: 3.0.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 |

8 | Whether or not to allow safe, proprietary CSS values. 9 |

10 | 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.txt: -------------------------------------------------------------------------------- 1 | CSS 2 | DESCRIPTION: Configuration regarding allowed CSS. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt: -------------------------------------------------------------------------------- 1 | Cache.DefinitionImpl 2 | TYPE: string/null 3 | VERSION: 2.0.0 4 | DEFAULT: 'Serializer' 5 | --DESCRIPTION-- 6 | 7 | This directive defines which method to use when caching definitions, 8 | the complex data-type that makes HTML Purifier tick. Set to null 9 | to disable caching (not recommended, as you will see a definite 10 | performance degradation). 11 | 12 | --ALIASES-- 13 | Core.DefinitionCache 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt: -------------------------------------------------------------------------------- 1 | Cache.SerializerPath 2 | TYPE: string/null 3 | VERSION: 2.0.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | Absolute path with no trailing slash to store serialized definitions in. 9 | Default is within the 10 | HTML Purifier library inside DefinitionCache/Serializer. This 11 | path must be writable by the webserver. 12 |

13 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.txt: -------------------------------------------------------------------------------- 1 | Cache 2 | DESCRIPTION: Configuration for DefinitionCache and related subclasses. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt: -------------------------------------------------------------------------------- 1 | Core.AggressivelyFixLt 2 | TYPE: bool 3 | VERSION: 2.1.0 4 | DEFAULT: true 5 | --DESCRIPTION-- 6 |

7 | This directive enables aggressive pre-filter fixes HTML Purifier can 8 | perform in order to ensure that open angled-brackets do not get killed 9 | during parsing stage. Enabling this will result in two preg_replace_callback 10 | calls and at least two preg_replace calls for every HTML document parsed; 11 | if your users make very well-formed HTML, you can set this directive false. 12 | This has no effect when DirectLex is used. 13 |

14 |

15 | Notice: This directive's default turned from false to true 16 | in HTML Purifier 3.2.0. 17 |

-------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt: -------------------------------------------------------------------------------- 1 | Core.CollectErrors 2 | TYPE: bool 3 | VERSION: 2.0.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 | Whether or not to collect errors found while filtering the document. This 8 | is a useful way to give feedback to your users. Warning: 9 | Currently this feature is very patchy and experimental, with lots of 10 | possible error messages not yet implemented. It will not cause any 11 | problems, but it may not help your users either. 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt: -------------------------------------------------------------------------------- 1 | Core.ColorKeywords 2 | TYPE: hash 3 | VERSION: 2.0.0 4 | --DEFAULT-- 5 | array ( 6 | 'maroon' => '#800000', 7 | 'red' => '#FF0000', 8 | 'orange' => '#FFA500', 9 | 'yellow' => '#FFFF00', 10 | 'olive' => '#808000', 11 | 'purple' => '#800080', 12 | 'fuchsia' => '#FF00FF', 13 | 'white' => '#FFFFFF', 14 | 'lime' => '#00FF00', 15 | 'green' => '#008000', 16 | 'navy' => '#000080', 17 | 'blue' => '#0000FF', 18 | 'aqua' => '#00FFFF', 19 | 'teal' => '#008080', 20 | 'black' => '#000000', 21 | 'silver' => '#C0C0C0', 22 | 'gray' => '#808080', 23 | ) 24 | --DESCRIPTION-- 25 | 26 | Lookup array of color names to six digit hexadecimal number corresponding 27 | to color, with preceding hash mark. Used when parsing colors. 28 | 29 | 30 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt: -------------------------------------------------------------------------------- 1 | Core.ConvertDocumentToFragment 2 | TYPE: bool 3 | DEFAULT: true 4 | --DESCRIPTION-- 5 | 6 | This parameter determines whether or not the filter should convert 7 | input that is a full document with html and body tags to a fragment 8 | of just the contents of a body tag. This parameter is simply something 9 | HTML Purifier can do during an edge-case: for most inputs, this 10 | processing is not necessary. 11 | 12 | --ALIASES-- 13 | Core.AcceptFullDocuments 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt: -------------------------------------------------------------------------------- 1 | Core.DirectLexLineNumberSyncInterval 2 | TYPE: int 3 | VERSION: 2.0.0 4 | DEFAULT: 0 5 | --DESCRIPTION-- 6 | 7 |

8 | Specifies the number of tokens the DirectLex line number tracking 9 | implementations should process before attempting to resyncronize the 10 | current line count by manually counting all previous new-lines. When 11 | at 0, this functionality is disabled. Lower values will decrease 12 | performance, and this is only strictly necessary if the counting 13 | algorithm is buggy (in which case you should report it as a bug). 14 | This has no effect when %Core.MaintainLineNumbers is disabled or DirectLex is 15 | not being used. 16 |

17 | 18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt: -------------------------------------------------------------------------------- 1 | Core.Encoding 2 | TYPE: istring 3 | DEFAULT: 'utf-8' 4 | --DESCRIPTION-- 5 | If for some reason you are unable to convert all webpages to UTF-8, you can 6 | use this directive as a stop-gap compatibility change to let HTML Purifier 7 | deal with non UTF-8 input. This technique has notable deficiencies: 8 | absolutely no characters outside of the selected character encoding will be 9 | preserved, not even the ones that have been ampersand escaped (this is due 10 | to a UTF-8 specific feature that automatically resolves all 11 | entities), making it pretty useless for anything except the most I18N-blind 12 | applications, although %Core.EscapeNonASCIICharacters offers fixes this 13 | trouble with another tradeoff. This directive only accepts ISO-8859-1 if 14 | iconv is not enabled. 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt: -------------------------------------------------------------------------------- 1 | Core.EscapeInvalidChildren 2 | TYPE: bool 3 | DEFAULT: false 4 | --DESCRIPTION-- 5 | When true, a child is found that is not allowed in the context of the 6 | parent element will be transformed into text as if it were ASCII. When 7 | false, that element and all internal tags will be dropped, though text will 8 | be preserved. There is no option for dropping the element but preserving 9 | child nodes. 10 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt: -------------------------------------------------------------------------------- 1 | Core.EscapeInvalidTags 2 | TYPE: bool 3 | DEFAULT: false 4 | --DESCRIPTION-- 5 | When true, invalid tags will be written back to the document as plain text. 6 | Otherwise, they are silently dropped. 7 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt: -------------------------------------------------------------------------------- 1 | Core.EscapeNonASCIICharacters 2 | TYPE: bool 3 | VERSION: 1.4.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | This directive overcomes a deficiency in %Core.Encoding by blindly 7 | converting all non-ASCII characters into decimal numeric entities before 8 | converting it to its native encoding. This means that even characters that 9 | can be expressed in the non-UTF-8 encoding will be entity-ized, which can 10 | be a real downer for encodings like Big5. It also assumes that the ASCII 11 | repetoire is available, although this is the case for almost all encodings. 12 | Anyway, use UTF-8! 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt: -------------------------------------------------------------------------------- 1 | Core.HiddenElements 2 | TYPE: lookup 3 | --DEFAULT-- 4 | array ( 5 | 'script' => true, 6 | 'style' => true, 7 | ) 8 | --DESCRIPTION-- 9 | 10 |

11 | This directive is a lookup array of elements which should have their 12 | contents removed when they are not allowed by the HTML definition. 13 | For example, the contents of a script tag are not 14 | normally shown in a document, so if script tags are to be removed, 15 | their contents should be removed to. This is opposed to a b 16 | tag, which defines some presentational changes but does not hide its 17 | contents. 18 |

19 | 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Language.txt: -------------------------------------------------------------------------------- 1 | Core.Language 2 | TYPE: string 3 | VERSION: 2.0.0 4 | DEFAULT: 'en' 5 | --DESCRIPTION-- 6 | 7 | ISO 639 language code for localizable things in HTML Purifier to use, 8 | which is mainly error reporting. There is currently only an English (en) 9 | translation, so this directive is currently useless. 10 | 11 | 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt: -------------------------------------------------------------------------------- 1 | Core.MaintainLineNumbers 2 | TYPE: bool/null 3 | VERSION: 2.0.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | If true, HTML Purifier will add line number information to all tokens. 9 | This is useful when error reporting is turned on, but can result in 10 | significant performance degradation and should not be used when 11 | unnecessary. This directive must be used with the DirectLex lexer, 12 | as the DOMLex lexer does not (yet) support this functionality. 13 | If the value is null, an appropriate value will be selected based 14 | on other configuration. 15 |

16 | 17 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt: -------------------------------------------------------------------------------- 1 | Core.RemoveInvalidImg 2 | TYPE: bool 3 | DEFAULT: true 4 | VERSION: 1.3.0 5 | --DESCRIPTION-- 6 | 7 |

8 | This directive enables pre-emptive URI checking in img 9 | tags, as the attribute validation strategy is not authorized to 10 | remove elements from the document. Revert to pre-1.3.0 behavior by setting to false. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt: -------------------------------------------------------------------------------- 1 | Core.RemoveScriptContents 2 | TYPE: bool/null 3 | DEFAULT: NULL 4 | VERSION: 2.0.0 5 | DEPRECATED-VERSION: 2.1.0 6 | DEPRECATED-USE: Core.HiddenElements 7 | --DESCRIPTION-- 8 |

9 | This directive enables HTML Purifier to remove not only script tags 10 | but all of their contents. 11 |

12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.txt: -------------------------------------------------------------------------------- 1 | Core 2 | DESCRIPTION: Core features that are always available. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt: -------------------------------------------------------------------------------- 1 | Filter.Custom 2 | TYPE: list 3 | VERSION: 3.1.0 4 | DEFAULT: array() 5 | --DESCRIPTION-- 6 |

7 | This directive can be used to add custom filters; it is nearly the 8 | equivalent of the now deprecated HTMLPurifier->addFilter() 9 | method. Specify an array of concrete implementations. 10 |

11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt: -------------------------------------------------------------------------------- 1 | Filter.YouTube 2 | TYPE: bool 3 | VERSION: 3.1.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | This directive enables YouTube video embedding in HTML Purifier. Check 8 | this document 9 | on embedding videos for more information on what this filter does. 10 |

11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.txt: -------------------------------------------------------------------------------- 1 | Filter 2 | DESCRIPTION: Directives for turning filters on and off, or specifying custom filters. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksEscaping.txt: -------------------------------------------------------------------------------- 1 | FilterParam.ExtractStyleBlocksEscaping 2 | TYPE: bool 3 | VERSION: 3.0.0 4 | DEFAULT: true 5 | ALIASES: Filter.ExtractStyleBlocksEscaping 6 | --DESCRIPTION-- 7 | 8 |

9 | Whether or not to escape the dangerous characters <, > and & 10 | as \3C, \3E and \26, respectively. This is can be safely set to false 11 | if the contents of StyleBlocks will be placed in an external stylesheet, 12 | where there is no risk of it being interpreted as HTML. 13 |

14 | 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksTidyImpl.txt: -------------------------------------------------------------------------------- 1 | FilterParam.ExtractStyleBlocksTidyImpl 2 | TYPE: mixed/null 3 | VERSION: 3.1.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 |

7 | If left NULL, HTML Purifier will attempt to instantiate a csstidy 8 | class to use for internal cleaning. This will usually be good enough. 9 |

10 |

11 | However, for trusted user input, you can set this to false to 12 | disable cleaning. In addition, you can supply your own concrete implementation 13 | of Tidy's interface to use, although I don't know why you'd want to do that. 14 |

15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/FilterParam.txt: -------------------------------------------------------------------------------- 1 | FilterParam 2 | DESCRIPTION: Configuration for filters. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt: -------------------------------------------------------------------------------- 1 | HTML.Allowed 2 | TYPE: itext/null 3 | VERSION: 2.0.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | This is a convenience directive that rolls the functionality of 9 | %HTML.AllowedElements and %HTML.AllowedAttributes into one directive. 10 | Specify elements and attributes that are allowed using: 11 | element1[attr1|attr2],element2.... You can also use 12 | newlines instead of commas to separate elements. 13 |

14 |

15 | Warning: 16 | All of the constraints on the component directives are still enforced. 17 | The syntax is a subset of TinyMCE's valid_elements 18 | whitelist: directly copy-pasting it here will probably result in 19 | broken whitelists. If %HTML.AllowedElements or %HTML.AllowedAttributes 20 | are set, this directive has no effect. 21 |

22 | 23 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt: -------------------------------------------------------------------------------- 1 | HTML.AllowedAttributes 2 | TYPE: lookup/null 3 | VERSION: 1.3.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | If HTML Purifier's attribute set is unsatisfactory, overload it! 9 | The syntax is "tag.attr" or "*.attr" for the global attributes 10 | (style, id, class, dir, lang, xml:lang). 11 |

12 |

13 | Warning: If another directive conflicts with the 14 | elements here, that directive will win and override. For 15 | example, %HTML.EnableAttrID will take precedence over *.id in this 16 | directive. You must set that directive to true before you can use 17 | IDs at all. 18 |

19 | 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt: -------------------------------------------------------------------------------- 1 | HTML.AllowedElements 2 | TYPE: lookup/null 3 | VERSION: 1.3.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 |

7 | If HTML Purifier's tag set is unsatisfactory for your needs, you 8 | can overload it with your own list of tags to allow. Note that this 9 | method is subtractive: it does its job by taking away from HTML Purifier 10 | usual feature set, so you cannot add a tag that HTML Purifier never 11 | supported in the first place (like embed, form or head). If you 12 | change this, you probably also want to change %HTML.AllowedAttributes. 13 |

14 |

15 | Warning: If another directive conflicts with the 16 | elements here, that directive will win and override. 17 |

18 | 19 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt: -------------------------------------------------------------------------------- 1 | HTML.AllowedModules 2 | TYPE: lookup/null 3 | VERSION: 2.0.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | A doctype comes with a set of usual modules to use. Without having 9 | to mucking about with the doctypes, you can quickly activate or 10 | disable these modules by specifying which modules you wish to allow 11 | with this directive. This is most useful for unit testing specific 12 | modules, although end users may find it useful for their own ends. 13 |

14 |

15 | If you specify a module that does not exist, the manager will silently 16 | fail to use it, so be careful! User-defined modules are not affected 17 | by this directive. Modules defined in %HTML.CoreModules are not 18 | affected by this directive. 19 |

20 | 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt: -------------------------------------------------------------------------------- 1 | HTML.BlockWrapper 2 | TYPE: string 3 | VERSION: 1.3.0 4 | DEFAULT: 'p' 5 | --DESCRIPTION-- 6 | 7 |

8 | String name of element to wrap inline elements that are inside a block 9 | context. This only occurs in the children of blockquote in strict mode. 10 |

11 |

12 | Example: by default value, 13 | <blockquote>Foo</blockquote> would become 14 | <blockquote><p>Foo</p></blockquote>. 15 | The <p> tags can be replaced with whatever you desire, 16 | as long as it is a block level element. 17 |

18 | 19 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt: -------------------------------------------------------------------------------- 1 | HTML.CoreModules 2 | TYPE: lookup 3 | VERSION: 2.0.0 4 | --DEFAULT-- 5 | array ( 6 | 'Structure' => true, 7 | 'Text' => true, 8 | 'Hypertext' => true, 9 | 'List' => true, 10 | 'NonXMLCommonAttributes' => true, 11 | 'XMLCommonAttributes' => true, 12 | 'CommonAttributes' => true, 13 | ) 14 | --DESCRIPTION-- 15 | 16 |

17 | Certain modularized doctypes (XHTML, namely), have certain modules 18 | that must be included for the doctype to be an conforming document 19 | type: put those modules here. By default, XHTML's core modules 20 | are used. You can set this to a blank array to disable core module 21 | protection, but this is not recommended. 22 |

23 | 24 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt: -------------------------------------------------------------------------------- 1 | HTML.CustomDoctype 2 | TYPE: string/null 3 | VERSION: 2.0.1 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 | A custom doctype for power-users who defined there own document 8 | type. This directive only applies when %HTML.Doctype is blank. 9 | 10 | 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt: -------------------------------------------------------------------------------- 1 | HTML.DefinitionRev 2 | TYPE: int 3 | VERSION: 2.0.0 4 | DEFAULT: 1 5 | --DESCRIPTION-- 6 | 7 |

8 | Revision identifier for your custom definition specified in 9 | %HTML.DefinitionID. This serves the same purpose: uniquely identifying 10 | your custom definition, but this one does so in a chronological 11 | context: revision 3 is more up-to-date then revision 2. Thus, when 12 | this gets incremented, the cache handling is smart enough to clean 13 | up any older revisions of your definition as well as flush the 14 | cache. 15 |

16 | 17 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt: -------------------------------------------------------------------------------- 1 | HTML.Doctype 2 | TYPE: string/null 3 | DEFAULT: NULL 4 | --DESCRIPTION-- 5 | Doctype to use during filtering. Technically speaking this is not actually 6 | a doctype (as it does not identify a corresponding DTD), but we are using 7 | this name for sake of simplicity. When non-blank, this will override any 8 | older directives like %HTML.XHTML or %HTML.Strict. 9 | --ALLOWED-- 10 | 'HTML 4.01 Transitional', 'HTML 4.01 Strict', 'XHTML 1.0 Transitional', 'XHTML 1.0 Strict', 'XHTML 1.1' 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt: -------------------------------------------------------------------------------- 1 | HTML.ForbiddenAttributes 2 | TYPE: lookup 3 | VERSION: 3.1.0 4 | DEFAULT: array() 5 | --DESCRIPTION-- 6 |

7 | While this directive is similar to %HTML.AllowedAttributes, for 8 | forwards-compatibility with XML, this attribute has a different syntax. Instead of 9 | tag.attr, use tag@attr. To disallow href 10 | attributes in a tags, set this directive to 11 | a@href. You can also disallow an attribute globally with 12 | attr or *@attr (either syntax is fine; the latter 13 | is provided for consistency with %HTML.AllowedAttributes). 14 |

15 |

16 | Warning: This directive complements %HTML.ForbiddenElements, 17 | accordingly, check 18 | out that directive for a discussion of why you 19 | should think twice before using this directive. 20 |

21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt: -------------------------------------------------------------------------------- 1 | HTML.ForbiddenElements 2 | TYPE: lookup 3 | VERSION: 3.1.0 4 | DEFAULT: array() 5 | --DESCRIPTION-- 6 |

7 | This was, perhaps, the most requested feature ever in HTML 8 | Purifier. Please don't abuse it! This is the logical inverse of 9 | %HTML.AllowedElements, and it will override that directive, or any 10 | other directive. 11 |

12 |

13 | If possible, %HTML.Allowed is recommended over this directive, because it 14 | can sometimes be difficult to tell whether or not you've forbidden all of 15 | the behavior you would like to disallow. If you forbid img 16 | with the expectation of preventing images on your site, you'll be in for 17 | a nasty surprise when people start using the background-image 18 | CSS property. 19 |

20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt: -------------------------------------------------------------------------------- 1 | HTML.MaxImgLength 2 | TYPE: int/null 3 | DEFAULT: 1200 4 | VERSION: 3.1.1 5 | --DESCRIPTION-- 6 |

7 | This directive controls the maximum number of pixels in the width and 8 | height attributes in img tags. This is 9 | in place to prevent imagecrash attacks, disable with null at your own risk. 10 | This directive is similar to %CSS.MaxImgLength, and both should be 11 | concurrently edited, although there are 12 | subtle differences in the input format (the HTML max is an integer). 13 |

-------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt: -------------------------------------------------------------------------------- 1 | HTML.Parent 2 | TYPE: string 3 | VERSION: 1.3.0 4 | DEFAULT: 'div' 5 | --DESCRIPTION-- 6 | 7 |

8 | String name of element that HTML fragment passed to library will be 9 | inserted in. An interesting variation would be using span as the 10 | parent element, meaning that only inline tags would be allowed. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt: -------------------------------------------------------------------------------- 1 | HTML.Proprietary 2 | TYPE: bool 3 | VERSION: 3.1.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | Whether or not to allow proprietary elements and attributes in your 8 | documents, as per HTMLPurifier_HTMLModule_Proprietary. 9 | Warning: This can cause your documents to stop 10 | validating! 11 |

12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt: -------------------------------------------------------------------------------- 1 | HTML.SafeEmbed 2 | TYPE: bool 3 | VERSION: 3.1.1 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | Whether or not to permit embed tags in documents, with a number of extra 8 | security features added to prevent script execution. This is similar to 9 | what websites like MySpace do to embed tags. Embed is a proprietary 10 | element and will cause your website to stop validating. You probably want 11 | to enable this with %HTML.SafeObject. 12 | Highly experimental. 13 |

-------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt: -------------------------------------------------------------------------------- 1 | HTML.SafeObject 2 | TYPE: bool 3 | VERSION: 3.1.1 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | Whether or not to permit object tags in documents, with a number of extra 8 | security features added to prevent script execution. This is similar to 9 | what websites like MySpace do to object tags. You may also want to 10 | enable %HTML.SafeEmbed for maximum interoperability with Internet Explorer, 11 | although embed tags will cause your website to stop validating. 12 | Highly experimental. 13 |

14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt: -------------------------------------------------------------------------------- 1 | HTML.Strict 2 | TYPE: bool 3 | VERSION: 1.3.0 4 | DEFAULT: false 5 | DEPRECATED-VERSION: 1.7.0 6 | DEPRECATED-USE: HTML.Doctype 7 | --DESCRIPTION-- 8 | Determines whether or not to use Transitional (loose) or Strict rulesets. 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt: -------------------------------------------------------------------------------- 1 | HTML.TidyAdd 2 | TYPE: lookup 3 | VERSION: 2.0.0 4 | DEFAULT: array() 5 | --DESCRIPTION-- 6 | 7 | Fixes to add to the default set of Tidy fixes as per your level. 8 | 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt: -------------------------------------------------------------------------------- 1 | HTML.TidyLevel 2 | TYPE: string 3 | VERSION: 2.0.0 4 | DEFAULT: 'medium' 5 | --DESCRIPTION-- 6 | 7 |

General level of cleanliness the Tidy module should enforce. 8 | There are four allowed values:

9 |
10 |
none
11 |
No extra tidying should be done
12 |
light
13 |
Only fix elements that would be discarded otherwise due to 14 | lack of support in doctype
15 |
medium
16 |
Enforce best practices
17 |
heavy
18 |
Transform all deprecated elements and attributes to standards 19 | compliant equivalents
20 |
21 | 22 | --ALLOWED-- 23 | 'none', 'light', 'medium', 'heavy' 24 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt: -------------------------------------------------------------------------------- 1 | HTML.TidyRemove 2 | TYPE: lookup 3 | VERSION: 2.0.0 4 | DEFAULT: array() 5 | --DESCRIPTION-- 6 | 7 | Fixes to remove from the default set of Tidy fixes as per your level. 8 | 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt: -------------------------------------------------------------------------------- 1 | HTML.Trusted 2 | TYPE: bool 3 | VERSION: 2.0.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | Indicates whether or not the user input is trusted or not. If the input is 7 | trusted, a more expansive set of allowed tags and attributes will be used. 8 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt: -------------------------------------------------------------------------------- 1 | HTML.XHTML 2 | TYPE: bool 3 | DEFAULT: true 4 | VERSION: 1.1.0 5 | DEPRECATED-VERSION: 1.7.0 6 | DEPRECATED-USE: HTML.Doctype 7 | --DESCRIPTION-- 8 | Determines whether or not output is XHTML 1.0 or HTML 4.01 flavor. 9 | --ALIASES-- 10 | Core.XHTML 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.txt: -------------------------------------------------------------------------------- 1 | HTML 2 | DESCRIPTION: Configuration regarding allowed HTML. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt: -------------------------------------------------------------------------------- 1 | Output.CommentScriptContents 2 | TYPE: bool 3 | VERSION: 2.0.0 4 | DEFAULT: true 5 | --DESCRIPTION-- 6 | Determines whether or not HTML Purifier should attempt to fix up the 7 | contents of script tags for legacy browsers with comments. 8 | --ALIASES-- 9 | Core.CommentScriptContents 10 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt: -------------------------------------------------------------------------------- 1 | Output.Newline 2 | TYPE: string/null 3 | VERSION: 2.0.1 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | Newline string to format final output with. If left null, HTML Purifier 9 | will auto-detect the default newline type of the system and use that; 10 | you can manually override it here. Remember, \r\n is Windows, \r 11 | is Mac, and \n is Unix. 12 |

13 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt: -------------------------------------------------------------------------------- 1 | Output.SortAttr 2 | TYPE: bool 3 | VERSION: 3.2.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | If true, HTML Purifier will sort attributes by name before writing them back 8 | to the document, converting a tag like: <el b="" a="" c="" /> 9 | to <el a="" b="" c="" />. This is a workaround for 10 | a bug in FCKeditor which causes it to swap attributes order, adding noise 11 | to text diffs. If you're not seeing this bug, chances are, you don't need 12 | this directive. 13 |

14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt: -------------------------------------------------------------------------------- 1 | Output.TidyFormat 2 | TYPE: bool 3 | VERSION: 1.1.1 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | Determines whether or not to run Tidy on the final output for pretty 8 | formatting reasons, such as indentation and wrap. 9 |

10 |

11 | This can greatly improve readability for editors who are hand-editing 12 | the HTML, but is by no means necessary as HTML Purifier has already 13 | fixed all major errors the HTML may have had. Tidy is a non-default 14 | extension, and this directive will silently fail if Tidy is not 15 | available. 16 |

17 |

18 | If you are looking to make the overall look of your page's source 19 | better, I recommend running Tidy on the entire page rather than just 20 | user-content (after all, the indentation relative to the containing 21 | blocks will be incorrect). 22 |

23 | --ALIASES-- 24 | Core.TidyFormat 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.txt: -------------------------------------------------------------------------------- 1 | Output 2 | DESCRIPTION: Configuration relating to the generation of (X)HTML. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt: -------------------------------------------------------------------------------- 1 | Test.ForceNoIconv 2 | TYPE: bool 3 | DEFAULT: false 4 | --DESCRIPTION-- 5 | When set to true, HTMLPurifier_Encoder will act as if iconv does not exist 6 | and use only pure PHP implementations. 7 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Test.txt: -------------------------------------------------------------------------------- 1 | Test 2 | DESCRIPTION: Developer testing configuration for our unit tests. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt: -------------------------------------------------------------------------------- 1 | URI.AllowedSchemes 2 | TYPE: lookup 3 | --DEFAULT-- 4 | array ( 5 | 'http' => true, 6 | 'https' => true, 7 | 'mailto' => true, 8 | 'ftp' => true, 9 | 'nntp' => true, 10 | 'news' => true, 11 | ) 12 | --DESCRIPTION-- 13 | Whitelist that defines the schemes that a URI is allowed to have. This 14 | prevents XSS attacks from using pseudo-schemes like javascript or mocha. 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Base.txt: -------------------------------------------------------------------------------- 1 | URI.Base 2 | TYPE: string/null 3 | VERSION: 2.1.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | The base URI is the URI of the document this purified HTML will be 9 | inserted into. This information is important if HTML Purifier needs 10 | to calculate absolute URIs from relative URIs, such as when %URI.MakeAbsolute 11 | is on. You may use a non-absolute URI for this value, but behavior 12 | may vary (%URI.MakeAbsolute deals nicely with both absolute and 13 | relative paths, but forwards-compatibility is not guaranteed). 14 | Warning: If set, the scheme on this URI 15 | overrides the one specified by %URI.DefaultScheme. 16 |

17 | 18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt: -------------------------------------------------------------------------------- 1 | URI.DefaultScheme 2 | TYPE: string 3 | DEFAULT: 'http' 4 | --DESCRIPTION-- 5 | 6 |

7 | Defines through what scheme the output will be served, in order to 8 | select the proper object validator when no scheme information is present. 9 |

10 | 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt: -------------------------------------------------------------------------------- 1 | URI.DefinitionID 2 | TYPE: string/null 3 | VERSION: 2.1.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | Unique identifier for a custom-built URI definition. If you want 9 | to add custom URIFilters, you must specify this value. 10 |

11 | 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt: -------------------------------------------------------------------------------- 1 | URI.DefinitionRev 2 | TYPE: int 3 | VERSION: 2.1.0 4 | DEFAULT: 1 5 | --DESCRIPTION-- 6 | 7 |

8 | Revision identifier for your custom definition. See 9 | %HTML.DefinitionRev for details. 10 |

11 | 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt: -------------------------------------------------------------------------------- 1 | URI.Disable 2 | TYPE: bool 3 | VERSION: 1.3.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 |

8 | Disables all URIs in all forms. Not sure why you'd want to do that 9 | (after all, the Internet's founded on the notion of a hyperlink). 10 |

11 | 12 | --ALIASES-- 13 | Attr.DisableURI 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt: -------------------------------------------------------------------------------- 1 | URI.DisableExternal 2 | TYPE: bool 3 | VERSION: 1.2.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | Disables links to external websites. This is a highly effective anti-spam 7 | and anti-pagerank-leech measure, but comes at a hefty price: nolinks or 8 | images outside of your domain will be allowed. Non-linkified URIs will 9 | still be preserved. If you want to be able to link to subdomains or use 10 | absolute URIs, specify %URI.Host for your website. 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt: -------------------------------------------------------------------------------- 1 | URI.DisableExternalResources 2 | TYPE: bool 3 | VERSION: 1.3.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | Disables the embedding of external resources, preventing users from 7 | embedding things like images from other hosts. This prevents access 8 | tracking (good for email viewers), bandwidth leeching, cross-site request 9 | forging, goatse.cx posting, and other nasties, but also results in a loss 10 | of end-user functionality (they can't directly post a pic they posted from 11 | Flickr anymore). Use it if you don't have a robust user-content moderation 12 | team. 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt: -------------------------------------------------------------------------------- 1 | URI.DisableResources 2 | TYPE: bool 3 | VERSION: 1.3.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 |

8 | Disables embedding resources, essentially meaning no pictures. You can 9 | still link to them though. See %URI.DisableExternalResources for why 10 | this might be a good idea. 11 |

12 | 13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Host.txt: -------------------------------------------------------------------------------- 1 | URI.Host 2 | TYPE: string/null 3 | VERSION: 1.2.0 4 | DEFAULT: NULL 5 | --DESCRIPTION-- 6 | 7 |

8 | Defines the domain name of the server, so we can determine whether or 9 | an absolute URI is from your website or not. Not strictly necessary, 10 | as users should be using relative URIs to reference resources on your 11 | website. It will, however, let you use absolute URIs to link to 12 | subdomains of the domain you post here: i.e. example.com will allow 13 | sub.example.com. However, higher up domains will still be excluded: 14 | if you set %URI.Host to sub.example.com, example.com will be blocked. 15 | Note: This directive overrides %URI.Base because 16 | a given page may be on a sub-domain, but you wish HTML Purifier to be 17 | more relaxed and allow some of the parent domains too. 18 |

19 | 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt: -------------------------------------------------------------------------------- 1 | URI.HostBlacklist 2 | TYPE: list 3 | VERSION: 1.3.0 4 | DEFAULT: array() 5 | --DESCRIPTION-- 6 | List of strings that are forbidden in the host of any URI. Use it to kill 7 | domain names of spam, etc. Note that it will catch anything in the domain, 8 | so moo.com will catch moo.com.example.com. 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt: -------------------------------------------------------------------------------- 1 | URI.MakeAbsolute 2 | TYPE: bool 3 | VERSION: 2.1.0 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 | 7 |

8 | Converts all URIs into absolute forms. This is useful when the HTML 9 | being filtered assumes a specific base path, but will actually be 10 | viewed in a different context (and setting an alternate base URI is 11 | not possible). %URI.Base must be set for this directive to work. 12 |

13 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt: -------------------------------------------------------------------------------- 1 | URI.MungeResources 2 | TYPE: bool 3 | VERSION: 3.1.1 4 | DEFAULT: false 5 | --DESCRIPTION-- 6 |

7 | If true, any URI munging directives like %URI.Munge 8 | will also apply to embedded resources, such as <img src="">. 9 | Be careful enabling this directive if you have a redirector script 10 | that does not use the Location HTTP header; all of your images 11 | and other embedded resources will break. 12 |

13 |

14 | Warning: It is strongly advised you use this in conjunction 15 | %URI.MungeSecretKey to mitigate the security risk of an open redirector. 16 |

17 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt: -------------------------------------------------------------------------------- 1 | URI.OverrideAllowedSchemes 2 | TYPE: bool 3 | DEFAULT: true 4 | --DESCRIPTION-- 5 | If this is set to true (which it is by default), you can override 6 | %URI.AllowedSchemes by simply registering a HTMLPurifier_URIScheme to the 7 | registry. If false, you will also have to update that directive in order 8 | to add more schemes. 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.txt: -------------------------------------------------------------------------------- 1 | URI 2 | DESCRIPTION: Features regarding Uniform Resource Identifiers. 3 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/ConfigSchema/schema/info.ini: -------------------------------------------------------------------------------- 1 | name = "HTML Purifier" 2 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php: -------------------------------------------------------------------------------- 1 | array( 9 | 0 => array('Style'), 10 | // 'xml:space' => false, 11 | 'class' => 'NMTOKENS', 12 | 'id' => 'ID', 13 | 'title' => 'CDATA', 14 | ), 15 | 'Lang' => array(), 16 | 'I18N' => array( 17 | 0 => array('Lang'), // proprietary, for xml:lang/lang 18 | ), 19 | 'Common' => array( 20 | 0 => array('Core', 'I18N') 21 | ) 22 | ); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Hypertext.php: -------------------------------------------------------------------------------- 1 | addElement( 13 | 'a', 'Inline', 'Inline', 'Common', 14 | array( 15 | // 'accesskey' => 'Character', 16 | // 'charset' => 'Charset', 17 | 'href' => 'URI', 18 | // 'hreflang' => 'LanguageCode', 19 | 'rel' => new HTMLPurifier_AttrDef_HTML_LinkTypes('rel'), 20 | 'rev' => new HTMLPurifier_AttrDef_HTML_LinkTypes('rev'), 21 | // 'tabindex' => 'Number', 22 | // 'type' => 'ContentType', 23 | ) 24 | ); 25 | $a->excludes = array('a' => true); 26 | } 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Name.php: -------------------------------------------------------------------------------- 1 | addBlankElement($name); 12 | $element->attr['name'] = 'ID'; 13 | } 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php: -------------------------------------------------------------------------------- 1 | array( 9 | 'lang' => 'LanguageCode', 10 | ) 11 | ); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/StyleAttribute.php: -------------------------------------------------------------------------------- 1 | array('style' => false), // see constructor 15 | 'Core' => array(0 => array('Style')) 16 | ); 17 | 18 | public function setup($config) { 19 | $this->attr_collections['Style']['style'] = new HTMLPurifier_AttrDef_CSS(); 20 | } 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Target.php: -------------------------------------------------------------------------------- 1 | addBlankElement($name); 15 | $e->attr = array( 16 | 'target' => new HTMLPurifier_AttrDef_HTML_FrameTarget() 17 | ); 18 | } 19 | } 20 | 21 | } 22 | 23 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Name.php: -------------------------------------------------------------------------------- 1 | content_model_type != 'strictblockquote') return parent::getChildDef($def); 17 | return new HTMLPurifier_ChildDef_StrictBlockquote($def->content_model); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Transitional.php: -------------------------------------------------------------------------------- 1 | array( 9 | 'xml:lang' => 'LanguageCode', 10 | ) 11 | ); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Injector/DisplayLinkURI.php: -------------------------------------------------------------------------------- 1 | start->attr['href'])){ 17 | $url = $token->start->attr['href']; 18 | unset($token->start->attr['href']); 19 | $token = array($token, new HTMLPurifier_Token_Text(" ($url)")); 20 | } else { 21 | // nothing to display 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Language/classes/en-x-test.php: -------------------------------------------------------------------------------- 1 | 'HTML Purifier X' 9 | ); 10 | 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Language/messages/en-x-testmini.php: -------------------------------------------------------------------------------- 1 | 'HTML Purifier XNone' 10 | ); 11 | 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Printer/ConfigForm.css: -------------------------------------------------------------------------------- 1 | 2 | .hp-config {} 3 | 4 | .hp-config tbody th {text-align:right; padding-right:0.5em;} 5 | .hp-config thead, .hp-config .namespace {background:#3C578C; color:#FFF;} 6 | .hp-config .namespace th {text-align:center;} 7 | .hp-config .verbose {display:none;} 8 | .hp-config .controls {text-align:center;} 9 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Printer/ConfigForm.js: -------------------------------------------------------------------------------- 1 | function toggleWriteability(id_of_patient, checked) { 2 | document.getElementById(id_of_patient).disabled = checked; 3 | } -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Strategy.php: -------------------------------------------------------------------------------- 1 | strategies as $strategy) { 18 | $tokens = $strategy->execute($tokens, $config, $context); 19 | } 20 | return $tokens; 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Strategy/Core.php: -------------------------------------------------------------------------------- 1 | strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements(); 11 | $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed(); 12 | $this->strategies[] = new HTMLPurifier_Strategy_FixNesting(); 13 | $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes(); 14 | } 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Token/Comment.php: -------------------------------------------------------------------------------- 1 | data = $data; 16 | $this->line = $line; 17 | $this->col = $col; 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/Token/Empty.php: -------------------------------------------------------------------------------- 1 | getDefinition('URI')->host; 9 | if ($our_host !== null) $this->ourHostParts = array_reverse(explode('.', $our_host)); 10 | } 11 | public function filter(&$uri, $config, $context) { 12 | if (is_null($uri->host)) return true; 13 | if ($this->ourHostParts === false) return false; 14 | $host_parts = array_reverse(explode('.', $uri->host)); 15 | foreach ($this->ourHostParts as $i => $x) { 16 | if (!isset($host_parts[$i])) return false; 17 | if ($host_parts[$i] != $this->ourHostParts[$i]) return false; 18 | } 19 | return true; 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/URIFilter/DisableExternalResources.php: -------------------------------------------------------------------------------- 1 | get('EmbeddedURI', true)) return true; 8 | return parent::filter($uri, $config, $context); 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/URIFilter/HostBlacklist.php: -------------------------------------------------------------------------------- 1 | blacklist = $config->get('URI', 'HostBlacklist'); 9 | return true; 10 | } 11 | public function filter(&$uri, $config, $context) { 12 | foreach($this->blacklist as $blacklisted_host_fragment) { 13 | if (strpos($uri->host, $blacklisted_host_fragment) !== false) { 14 | return false; 15 | } 16 | } 17 | return true; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/URIScheme/http.php: -------------------------------------------------------------------------------- 1 | userinfo = null; 15 | return true; 16 | } 17 | 18 | } 19 | 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/URIScheme/https.php: -------------------------------------------------------------------------------- 1 | userinfo = null; 19 | $uri->host = null; 20 | $uri->port = null; 21 | // we need to validate path against RFC 2368's addr-spec 22 | return true; 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/URIScheme/news.php: -------------------------------------------------------------------------------- 1 | userinfo = null; 13 | $uri->host = null; 14 | $uri->port = null; 15 | $uri->query = null; 16 | // typecode check needed on path 17 | return true; 18 | } 19 | 20 | } 21 | 22 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/URIScheme/nntp.php: -------------------------------------------------------------------------------- 1 | userinfo = null; 14 | $uri->query = null; 15 | return true; 16 | } 17 | 18 | } 19 | 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/VarParser/Native.php: -------------------------------------------------------------------------------- 1 | evalExpression($var); 13 | } 14 | 15 | protected function evalExpression($expr) { 16 | $var = null; 17 | $result = eval("\$var = $expr;"); 18 | if ($result === false) { 19 | throw new HTMLPurifier_VarParserException("Fatal error in evaluated code"); 20 | } 21 | return $var; 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/VarParserException.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 1.) Bond. James Bond 10 | 11 |
\n"; 14 | 15 | $line3 = "3.) Romeo, Romeo! Wherefore art thou Romeo?"; 16 | $line3 = "--LINE HIDDEN ;)--"; 17 | echo $line3 . "\n\n

\n"; 18 | 19 | $line4 = "NC4pI" . "FRoZSBwb29s" . "IG9uIH" . "RoZSByb29mIG1" . "1c3QgaGF" . "2ZSBh" . "IGxlY" . "Wsu"; 20 | echo base64_decode( $line4 ); 21 | 22 | ?> 23 | 24 | 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/hackable/uploads/dvwa_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/hackable/uploads/dvwa_email.png -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/hackable/users/1337.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/hackable/users/1337.jpg -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/hackable/users/admin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/hackable/users/admin.jpg -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/hackable/users/gordonb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/hackable/users/gordonb.jpg -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/hackable/users/pablo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/hackable/users/pablo.jpg -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/hackable/users/smithy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/nocloud/servers/waf/dvwa/hackable/users/smithy.jpg -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/ids_log.php: -------------------------------------------------------------------------------- 1 | 18 |

PHPIDS Log

19 | 20 |

" . dvwaReadIdsLog() . "

21 |

22 | 23 |
24 | 25 |
26 | 27 | " . dvwaClearIdsLog() . " 28 | "; 29 | 30 | dvwaHtmlEcho( $page ); 31 | 32 | ?> 33 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/logout.php: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/php.ini: -------------------------------------------------------------------------------- 1 | ; This file attempts to overwrite the original php.ini file. Doesnt always work. 2 | 3 | magic_quotes_gpc = Off 4 | allow_url_fopen on 5 | allow_url_include on -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/phpinfo.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/exec/source/high.php: -------------------------------------------------------------------------------- 1 | '', 10 | ';' => '', 11 | '| ' => '', 12 | '-' => '', 13 | '$' => '', 14 | '(' => '', 15 | ')' => '', 16 | '`' => '', 17 | '||' => '', 18 | ); 19 | 20 | // Remove any of the charactars in the array (blacklist). 21 | $target = str_replace( array_keys( $substitutions ), $substitutions, $target ); 22 | 23 | // Determine OS and execute the ping command. 24 | if( stristr( php_uname( 's' ), 'Windows NT' ) ) { 25 | // Windows 26 | $cmd = shell_exec( 'ping ' . $target ); 27 | } 28 | else { 29 | // *nix 30 | $cmd = shell_exec( 'ping -c 4 ' . $target ); 31 | } 32 | 33 | // Feedback for the end user 34 | $html .= "
{$cmd}
"; 35 | } 36 | 37 | ?> 38 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/exec/source/low.php: -------------------------------------------------------------------------------- 1 | {$cmd}"; 19 | } 20 | 21 | ?> 22 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/exec/source/medium.php: -------------------------------------------------------------------------------- 1 | '', 10 | ';' => '', 11 | ); 12 | 13 | // Remove any of the charactars in the array (blacklist). 14 | $target = str_replace( array_keys( $substitutions ), $substitutions, $target ); 15 | 16 | // Determine OS and execute the ping command. 17 | if( stristr( php_uname( 's' ), 'Windows NT' ) ) { 18 | // Windows 19 | $cmd = shell_exec( 'ping ' . $target ); 20 | } 21 | else { 22 | // *nix 23 | $cmd = shell_exec( 'ping -c 4 ' . $target ); 24 | } 25 | 26 | // Feedback for the end user 27 | $html .= "
{$cmd}
"; 28 | } 29 | 30 | ?> 31 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/file1.php: -------------------------------------------------------------------------------- 1 | 5 |

Vulnerability: File Inclusion

6 |
7 |

File 1

8 |
9 | Hello " . dvwaCurrentUser() . "
10 | Your IP address is: {$_SERVER[ 'REMOTE_ADDR' ]}

11 | [back] 12 |
13 | 14 |

More info

15 | 19 | \n"; 20 | 21 | ?> 22 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/file2.php: -------------------------------------------------------------------------------- 1 | 5 |

Vulnerability: File Inclusion

6 |
7 |

File 2

8 |
9 | \"I needed a password eight characters long so I picked Snow White and the Seven Dwarves.\" ~ Nick Helm

10 | [back]
11 | 12 |

More info

13 | 17 | \n"; 18 | 19 | ?> 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/file4.php: -------------------------------------------------------------------------------- 1 | 5 |

Vulnerability: File Inclusion

6 |
7 |

File 4 (Hidden)

8 |
9 | Good job!
10 | This file isn't listed at all on DVWA. If you are reading this, you did something right ;-)
11 | 12 |
\n"; 13 | 14 | ?> 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/source/high.php: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/source/impossible.php: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/source/low.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/fi/source/medium.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli/session-input.php: -------------------------------------------------------------------------------- 1 |

"; 14 | $page[ 'body' ] .= "Session ID: {$_SESSION[ 'id' ]}


"; 15 | $page[ 'body' ] .= ""; 16 | } 17 | 18 | $page[ 'body' ] .= " 19 |
20 | 21 | 22 |
23 |
24 |
25 | 26 | "; 27 | 28 | dvwaSourceHtmlEcho( $page ); 29 | 30 | ?> 31 | 32 | 33 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli/source/high.php: -------------------------------------------------------------------------------- 1 | Something went wrong.' ); 10 | 11 | // Get results 12 | while( $row = mysqli_fetch_assoc( $result ) ) { 13 | // Get values 14 | $first = $row["first_name"]; 15 | $last = $row["last_name"]; 16 | 17 | // Feedback for end user 18 | $html .= "
ID: {$id}
First name: {$first}
Surname: {$last}
"; 19 | } 20 | 21 | ((is_null($___mysqli_res = mysqli_close($GLOBALS["___mysqli_ston"]))) ? false : $___mysqli_res); 22 | } 23 | 24 | ?> 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli/source/impossible.php: -------------------------------------------------------------------------------- 1 | prepare( 'SELECT first_name, last_name FROM users WHERE user_id = (:id) LIMIT 1;' ); 14 | $data->bindParam( ':id', $id, PDO::PARAM_INT ); 15 | $data->execute(); 16 | $row = $data->fetch(); 17 | 18 | // Make sure only 1 result is returned 19 | if( $data->rowCount() == 1 ) { 20 | // Get values 21 | $first = $row[ 'first_name' ]; 22 | $last = $row[ 'last_name' ]; 23 | 24 | // Feedback for end user 25 | $html .= "
ID: {$id}
First name: {$first}
Surname: {$last}
"; 26 | } 27 | } 28 | } 29 | 30 | // Generate Anti-CSRF token 31 | generateSessionToken(); 32 | 33 | ?> 34 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli/source/low.php: -------------------------------------------------------------------------------- 1 | ' . ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)) . '' ); 10 | 11 | // Get results 12 | while( $row = mysqli_fetch_assoc( $result ) ) { 13 | // Get values 14 | $first = $row["first_name"]; 15 | $last = $row["last_name"]; 16 | 17 | // Feedback for end user 18 | $html .= "
ID: {$id}
First name: {$first}
Surname: {$last}
"; 19 | } 20 | 21 | mysqli_close($GLOBALS["___mysqli_ston"]); 22 | } 23 | 24 | ?> 25 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli_blind/cookie-input.php: -------------------------------------------------------------------------------- 1 |

"; 14 | $page[ 'body' ] .= ""; 15 | } 16 | 17 | $page[ 'body' ] .= " 18 |
19 | 20 | 21 |
22 |
23 |
24 | 25 | "; 26 | 27 | dvwaSourceHtmlEcho( $page ); 28 | 29 | ?> 30 | 31 | 32 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli_blind/source/impossible.php: -------------------------------------------------------------------------------- 1 | prepare( 'SELECT first_name, last_name FROM users WHERE user_id = (:id) LIMIT 1;' ); 14 | $data->bindParam( ':id', $id, PDO::PARAM_INT ); 15 | $data->execute(); 16 | 17 | // Get results 18 | if( $data->rowCount() == 1 ) { 19 | // Feedback for end user 20 | $html .= '
User ID exists in the database.
'; 21 | } 22 | else { 23 | // User wasn't found, so the page wasn't! 24 | header( $_SERVER[ 'SERVER_PROTOCOL' ] . ' 404 Not Found' ); 25 | 26 | // Feedback for end user 27 | $html .= '
User ID is MISSING from the database.
'; 28 | } 29 | } 30 | } 31 | 32 | // Generate Anti-CSRF token 33 | generateSessionToken(); 34 | 35 | ?> 36 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli_blind/source/low.php: -------------------------------------------------------------------------------- 1 | 0 ) { 14 | // Feedback for end user 15 | $html .= '
User ID exists in the database.
'; 16 | } 17 | else { 18 | // User wasn't found, so the page wasn't! 19 | header( $_SERVER[ 'SERVER_PROTOCOL' ] . ' 404 Not Found' ); 20 | 21 | // Feedback for end user 22 | $html .= '
User ID is MISSING from the database.
'; 23 | } 24 | 25 | ((is_null($___mysqli_res = mysqli_close($GLOBALS["___mysqli_ston"]))) ? false : $___mysqli_res); 26 | } 27 | 28 | ?> 29 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/sqli_blind/source/medium.php: -------------------------------------------------------------------------------- 1 | 0 ) { 15 | // Feedback for end user 16 | $html .= '
User ID exists in the database.
'; 17 | } 18 | else { 19 | // Feedback for end user 20 | $html .= '
User ID is MISSING from the database.
'; 21 | } 22 | 23 | //mysql_close(); 24 | } 25 | 26 | ?> 27 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/upload/source/low.php: -------------------------------------------------------------------------------- 1 | Your image was not uploaded.'; 12 | } 13 | else { 14 | // Yes! 15 | $html .= "
{$target_path} succesfully uploaded!
"; 16 | } 17 | } 18 | 19 | ?> 20 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/view_help.php: -------------------------------------------------------------------------------- 1 | ' . file_get_contents( DVWA_WEB_PAGE_TO_ROOT . "vulnerabilities/{$id}/help/help.php" ) . ' 21 | {$help} 22 | \n"; 23 | 24 | dvwaHelpHtmlEcho( $page ); 25 | 26 | ?> 27 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/weak_id/source/high.php: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/weak_id/source/impossible.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/weak_id/source/low.php: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/weak_id/source/medium.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_d/source/high.php: -------------------------------------------------------------------------------- 1 | 21 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_d/source/impossible.php: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_d/source/low.php: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_d/source/medium.php: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_r/source/high.php: -------------------------------------------------------------------------------- 1 | Hello ${name}"; 12 | } 13 | 14 | ?> 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_r/source/impossible.php: -------------------------------------------------------------------------------- 1 | Hello ${name}"; 13 | } 14 | 15 | // Generate Anti-CSRF token 16 | generateSessionToken(); 17 | 18 | ?> 19 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_r/source/low.php: -------------------------------------------------------------------------------- 1 | Hello ' . $_GET[ 'name' ] . ''; 9 | } 10 | 11 | ?> 12 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwa/vulnerabilities/xss_r/source/medium.php: -------------------------------------------------------------------------------- 1 | ', '', $_GET[ 'name' ] ); 9 | 10 | // Feedback for end user 11 | $html .= "
Hello ${name}
"; 12 | } 13 | 14 | ?> 15 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/dvwaserver-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete the WAF servers 3 | hosts: demo_servers 4 | become: True 5 | 6 | tasks: 7 | - name: delete wafserver1 8 | docker_container: 9 | name: wafserver1 10 | state: absent 11 | 12 | 13 | 14 | - name: delete wafserver2 15 | docker_container: 16 | name: wafserver2 17 | state: absent 18 | 19 | 20 | 21 | - name: delete the wafserver base image 22 | docker_image: 23 | name: wafserver 24 | tag: latest 25 | state: absent 26 | -------------------------------------------------------------------------------- /demos/nocloud/servers/waf/main.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo '[+] Starting mysql...' 4 | service mysql start 5 | 6 | echo '[+] Starting apache' 7 | service apache2 start 8 | 9 | while true 10 | do 11 | tail -f /var/log/apache2/*.log 12 | exit 0 13 | done 14 | -------------------------------------------------------------------------------- /demos/openshift/client/dockerfile: -------------------------------------------------------------------------------- 1 | ############################################################ 2 | # Dockerfile to build avi demo client 3 | # Based on ubuntu:latest 4 | ############################################################ 5 | 6 | # Set the base image to ubuntu:latest 7 | FROM ubuntu:16.04 8 | 9 | WORKDIR /opt/avi/client 10 | 11 | 12 | 13 | ################## BEGIN INSTALLATION ###################### 14 | 15 | # Install client script requirements 16 | RUN apt-get update 17 | RUN apt-get upgrade -y 18 | RUN apt-get install -y curl apache2-utils python-minimal python-requests dnsutils vim 19 | 20 | # Copy Traffic Generation Script and dependencies 21 | 22 | COPY "./traffic-kube.py" "/opt/avi/client/traffic-kube.py" 23 | 24 | RUN chmod a+x /opt/avi/client/traffic-kube.py 25 | 26 | # Execute script 27 | #----NEED TO CREATE A START SCRIPT 28 | CMD ["/usr/bin/python", "/opt/avi/client/traffic-kube.py"] 29 | -------------------------------------------------------------------------------- /demos/openshift/client/img/polygon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avinetworks/demo-in-a-box/cfdd7c735b01673cd0b9b9ffbf87c2052295549d/demos/openshift/client/img/polygon.png -------------------------------------------------------------------------------- /demos/openshift/client/kubeclient-create.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Build the Kube Client 3 | hosts: demo_clients 4 | become: True 5 | 6 | tasks: 7 | - name: build the kubeclient base image 8 | docker_image: 9 | path: . 10 | name: kubeclient 11 | tag: latest 12 | state: present 13 | 14 | - name: start kubeclient 15 | docker_container: 16 | name: kubeclient1 17 | hostname: kubeclient1 18 | networks: 19 | - name: avinet 20 | ipv4_address: "169.254.8.8" 21 | purge_networks: yes 22 | dns_servers: 23 | - "169.254.190.1" 24 | detach: yes 25 | log_driver: json-file 26 | log_options: 27 | max-size: 1m 28 | restart_policy: always 29 | state: started 30 | image: kubeclient:latest 31 | -------------------------------------------------------------------------------- /demos/openshift/client/kubeclient-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Build the Kube Client 3 | hosts: demo_clients 4 | become: True 5 | 6 | tasks: 7 | - name: delete kubeclient container 8 | docker_container: 9 | name: kubeclient1 10 | state: absent 11 | 12 | 13 | - name: delete the kubeclient base image 14 | docker_image: 15 | name: kubeclient 16 | tag: latest 17 | state: absent 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /demos/openshift/client/traffic-kube.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import subprocess 4 | import traceback 5 | from datetime import datetime 6 | import time 7 | 8 | while True: 9 | print '-----> STARTING NEW LOOP' 10 | try: 11 | #cmd = 'while true; do ab -n 100000 -c 5 -f TLS1.0 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.1 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat & ab -n 100000 -c 5 -f TLS1.2 -Z ECDHE-ECDSA-AES256-SHA https://scaleout.demovip.avi.local/100k.dat; done' 12 | cmd = 'ab -n 100000 -c 2 https://photo.demo.ns.avi/photo' 13 | result = subprocess.check_output(cmd, shell=True) 14 | time.sleep(1) 15 | except: 16 | exception_text = traceback.format_exc() 17 | print(str(datetime.now())+' '+exception_text) 18 | print 'ERROR - restarting' 19 | -------------------------------------------------------------------------------- /demos/openshift/clusterrole.json: -------------------------------------------------------------------------------- 1 | { 2 | "apiVersion": "v1", 3 | "kind": "ClusterRole", 4 | "metadata": { 5 | "name": "avirole" 6 | }, 7 | "rules": [ 8 | { 9 | "verbs": ["get","list","watch"], 10 | "resources": ["*"] 11 | }, 12 | { 13 | "verbs": ["patch","update"], 14 | "resources": ["routes/status"] 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /demos/openshift/controller_config-prep.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Prep Avi Controller Config 3 | hosts: openshift 4 | become: True 5 | 6 | tasks: 7 | - name: Retrieve Service Account Token 8 | shell: "oc describe serviceaccount avi -n default | grep Tokens: | awk '{print $2'}" 9 | register: srvc_account_token 10 | 11 | 12 | - debug: 13 | msg: "{{ srvc_account_token.stdout }}" 14 | 15 | 16 | - name: Retrieve Service Account Secret Name 17 | shell: "oc describe secret {{ srvc_account_token.stdout }} -n default | grep token: | awk '{print $2'}" 18 | register: srvc_account_secret 19 | 20 | 21 | - debug: 22 | msg: "{{ srvc_account_secret.stdout }}" 23 | 24 | 25 | - name: Prepare Controller config 26 | shell: | 27 | cp template_setup.json setup.json 28 | sed -i "s/REPLACE-TOKEN/{{ srvc_account_secret.stdout }}/g" setup.json 29 | sed -i "s/REPLACE-IP/{{ ansible_default_ipv4.address }}/g" setup.json 30 | -------------------------------------------------------------------------------- /demos/openshift/controller_deploy_openshift.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: controllers 3 | become: True 4 | vars_files: 5 | - ../../vars/avi_details.yaml 6 | roles: 7 | - role: avinetworks.avicontroller 8 | con_version: "{{ avi_version }}" 9 | con_disk_gb: 64 10 | con_cores: 8 11 | con_memory_gb: "{{ avi_controller_memory }}" 12 | con_controller_ip: "{{ ansible_default_ipv4.address }}" 13 | con_sysint_port: 9443 14 | con_setup_json: "./setup.json" 15 | con_disk_path: "/opt/avi/controller/{{ avi_version }}" 16 | con_docker_run_params: "--name=avicontroller{{ con_ports_list_string }} --net avinet --label demo=openshift --ip 169.254.0.100 -d --privileged{{ con_env_variables_string }}{{ con_mounts_string }} {{ con_image }}" 17 | -------------------------------------------------------------------------------- /demos/openshift/demo_openshift.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - import_playbook: vm_prep/prep-openshift.yml 3 | - import_playbook: ../../vm_prep/avinet.yml 4 | - import_playbook: openshift-create.yml 5 | - import_playbook: controller_config-prep.yml 6 | - import_playbook: controller_deploy_openshift.yml 7 | - import_playbook: controller_service_check.yml 8 | - import_playbook: aviconfigs/networks-create.yml 9 | - import_playbook: aviconfigs/ipam_dns-create.yml 10 | - import_playbook: aviconfigs/cloud-modify.yml 11 | - import_playbook: aviconfigs/avi-dns.yml 12 | - import_playbook: manifests/deploy-manifest.yml 13 | - import_playbook: client/kubeclient-create.yml 14 | - import_playbook: controller_post_check.yml 15 | -------------------------------------------------------------------------------- /demos/openshift/manifests/deploy-manifest.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Install Kubernetes 3 | hosts: openshift 4 | become: True 5 | 6 | tasks: 7 | 8 | - name: Check if Gallery app is already deployed 9 | shell: "oc get namespace" 10 | register: app_status 11 | 12 | - name: Deploy Gallery App 13 | shell: oc create -f gallery-app.yml 14 | when: "'demo' not in app_status.stdout" 15 | 16 | 17 | - shell: oc adm policy add-cluster-role-to-user admin admin -n demo 18 | when: "'demo' not in app_status.stdout" -------------------------------------------------------------------------------- /demos/openshift/openshift-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Delete Openshift 3 | hosts: openshift 4 | become: yes 5 | 6 | tasks: 7 | - name: check for Openshift 8 | stat: 9 | path: /usr/bin/oc 10 | register: oc_result 11 | become: True 12 | 13 | - name: Stop Openshift 14 | shell: oc cluster down 15 | register: task_result 16 | ignore_errors: yes 17 | when: oc_result.stat.exists == True 18 | 19 | 20 | - file: 21 | path: "{{ item }}" 22 | state: absent 23 | with_items: 24 | - /usr/bin/oc 25 | 26 | 27 | - pause: seconds=15 28 | when: oc_result.stat.exists == True 29 | 30 | 31 | - shell: | 32 | mount | grep 'openshift.local.volumes' | awk '{ print $3}' | xargs -l -r umount 33 | docker images | grep openshift | awk '{ print $3}' | xargs -l -r docker rmi 34 | rm -rf /var/lib/origin/* 35 | rm -rf ~/.kube 36 | rm -rf .kube 37 | when: oc_result.stat.exists == True 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /demos/openshift/sa.json: -------------------------------------------------------------------------------- 1 | { 2 | "apiVersion": "v1", 3 | "kind": "ServiceAccount", 4 | "metadata": { 5 | "name": "avi" 6 | } 7 | } -------------------------------------------------------------------------------- /demos/openstack/controller_deploy_openstack.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: controllers 3 | become: True 4 | vars_files: 5 | - ../vars/avi_details.yaml 6 | roles: 7 | - role: avinetworks.avicontroller 8 | con_version: "{{ avi_version }}" 9 | con_disk_gb: 64 10 | con_cores: 8 11 | con_memory_gb: "{{ avi_controller_memory }}" 12 | con_controller_ip: "{{ ansible_default_ipv4.address }}" 13 | con_sysint_port: 8443 14 | con_portal_http_port: 81 15 | con_setup_json: "./setup.json" 16 | con_docker_run_params: "--name=avicontroller{{ con_ports_list_string }} --net avinet --label demo=openstack --ip 169.254.0.100 -d --privileged{{ con_env_variables_string }}{{ con_mounts_string }} {{ con_image }}" 17 | -------------------------------------------------------------------------------- /demos/openstack/local.conf: -------------------------------------------------------------------------------- 1 | [[local|localrc]] 2 | enable_plugin neutron-lbaas https://github.com/openstack/neutron-lbaas.git stable/pike 3 | enable_plugin octavia https://git.openstack.org/openstack/octavia stable/pike 4 | enable_plugin neutron-lbaas-dashboard https://git.openstack.org/openstack/neutron-lbaas-dashboard stable/pike 5 | ADMIN_PASSWORD=AviDemo1! 6 | DATABASE_PASSWORD=$ADMIN_PASSWORD 7 | RABBIT_PASSWORD=$ADMIN_PASSWORD 8 | SERVICE_PASSWORD=$ADMIN_PASSWORD 9 | HOST_IP={{ ansible_default_ipv4.address }} 10 | IPV4_ADDRS_SAFE_TO_USE=169.254.128.0/24 11 | FLOATING_RANGE=169.254.129.0/24 12 | IP_VERSION=4 13 | ENABLED_SERVICES+=,q-lbaasv2 14 | ENABLED_SERVICES+=,octavia,o-cw,o-hk,o-hm,o-api 15 | RECLONE=yes 16 | -------------------------------------------------------------------------------- /demos/openstack/openstack_create.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Install Openstack 3 | hosts: openstack 4 | 5 | 6 | tasks: 7 | - name: Download Devstack 8 | shell: git clone https://github.com/openstack-dev/devstack.git -b stable/pike devstack/ 9 | 10 | - name: create config file 11 | template: 12 | src: "local.conf" 13 | dest: "devstack/local.conf" 14 | 15 | - name: Start Openstack - this will take about 20 minutes 16 | shell: devstack/stack.sh 17 | 18 | 19 | -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- 1 | [controllers] 2 | localhost ansible_connection=local 3 | 4 | [service_engines] 5 | localhost ansible_connection=local 6 | 7 | [demo_servers] 8 | localhost ansible_connection=local 9 | 10 | [demo_clients] 11 | localhost ansible_connection=local 12 | 13 | [kubernetes] 14 | localhost ansible_connection=local 15 | 16 | [openshift] 17 | localhost ansible_connection=local 18 | 19 | [metrics_hosts] 20 | localhost ansible_connection=local -------------------------------------------------------------------------------- /vars/avi_details.yaml: -------------------------------------------------------------------------------- 1 | controller_ip: "{{ ansible_default_ipv4.address }}" 2 | api_version: 17.2.7 3 | avi_version: "{{ lookup('env','AVI_VERSION') | default('18.2.7-9129-20191223.062504',true) }}" 4 | avi_change_version: "{{ lookup('env','AVI_VERSION_CHANGE') | default('false',true) }}" 5 | username: admin 6 | password: AviDemo1! 7 | avi_controller_memory: "{{ lookup('env','AVI_CONTROLLER_MEMORY') | default(24) }}" 8 | -------------------------------------------------------------------------------- /vm_prep/avinet-delete.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: all 3 | become: yes 4 | tasks: 5 | - name: Delete docker network 6 | docker_network: 7 | name: avinet 8 | state: absent 9 | -------------------------------------------------------------------------------- /vm_prep/avinet.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: all 3 | become: yes 4 | tasks: 5 | - name: Install docker-py 6 | pip: 7 | name: docker-py 8 | 9 | - name: Create a network with options 10 | docker_network: 11 | name: avinet 12 | driver: bridge 13 | ipam_options: 14 | subnet: '169.254.0.0/17' 15 | gateway: '169.254.0.1' 16 | appends: yes 17 | --------------------------------------------------------------------------------