Skip to content

Commit 2181214

Browse files
authored
Merge branch 'master' into master
2 parents a31fdf7 + fbc60a2 commit 2181214

File tree

12 files changed

+93
-90
lines changed

12 files changed

+93
-90
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Check out the repo
12-
uses: actions/checkout@v3.5.3
12+
uses: actions/checkout@v4.1.0
1313

1414
- name: Build the code with docker
1515
run: docker build . -t nettacker

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3.5.3
41+
uses: actions/checkout@v4.1.0
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/publish_docker_image.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3.5.3
12+
uses: actions/checkout@v4.1.0
1313
- name: Set up QEMU
14-
uses: docker/setup-qemu-action@v2
14+
uses: docker/setup-qemu-action@v3
1515
- name: Login to Docker Hub
16-
uses: docker/login-action@v2
16+
uses: docker/login-action@v3
1717
with:
1818
username: ${{ secrets.DOCKER_HUB_USERNAME }}
1919
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
2020
- name: Set up Docker Buildx
21-
uses: docker/setup-buildx-action@v2
21+
uses: docker/setup-buildx-action@v3
2222
- name: Build and push
23-
uses: docker/build-push-action@v4
23+
uses: docker/build-push-action@v5
2424
with:
2525
context: .
2626
file: ./Dockerfile

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#ignore IDE settings
55
*.idea*
66
*.vscode*
7+
*.code-workspace
78

89
#setup
910
build/*

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.4-slim
1+
FROM python:3.11.6-slim
22
RUN apt update
33
WORKDIR /usr/src/owaspnettacker
44
COPY . .

core/load_modules.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def load_all_modules(limit=-1, full_details=False):
236236
"""
237237
# Search for Modules
238238
from config import nettacker_paths
239-
from core.utility import sort_dictonary
239+
from core.utility import sort_dictionary
240240
if full_details:
241241
import yaml
242242
module_names = {}
@@ -260,7 +260,7 @@ def load_all_modules(limit=-1, full_details=False):
260260
if len(module_names) == limit:
261261
module_names['...'] = {}
262262
break
263-
module_names = sort_dictonary(module_names)
263+
module_names = sort_dictionary(module_names)
264264
module_names['all'] = {}
265265

266266
return module_names
@@ -273,7 +273,7 @@ def load_all_profiles(limit=-1):
273273
Returns:
274274
an array of all profile names
275275
"""
276-
from core.utility import sort_dictonary
276+
from core.utility import sort_dictionary
277277
all_modules_with_details = load_all_modules(limit=limit, full_details=True)
278278
profiles = {}
279279
if '...' in all_modules_with_details:
@@ -287,11 +287,11 @@ def load_all_profiles(limit=-1):
287287
else:
288288
profiles[tag].append(key)
289289
if len(profiles) == limit:
290-
profiles = sort_dictonary(profiles)
290+
profiles = sort_dictionary(profiles)
291291
profiles['...'] = []
292292
profiles['all'] = []
293293
return profiles
294-
profiles = sort_dictonary(profiles)
294+
profiles = sort_dictionary(profiles)
295295
profiles['all'] = []
296296
return profiles
297297

core/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def expand_step(step):
563563
return [step]
564564

565565

566-
def sort_dictonary(dictionary):
566+
def sort_dictionary(dictionary):
567567
etc_flag = '...' in dictionary
568568
if etc_flag:
569569
del dictionary['...']

lib/messages/hi.yaml

Lines changed: 65 additions & 65 deletions
Large diffs are not rendered by default.

lib/payloads/wordlists/wp_plugin_small.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,5 @@ sucuri-scanner
280280
ninja-forms
281281
the-plus-addons-for-elementor-page-builder
282282
wp-seopress
283+
media-library-assistant
284+
forminator

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
flake8==6.0.0
2-
ipython==8.14.0
2+
ipython==8.16.1

0 commit comments

Comments
 (0)