From 14b8010fee945cd4d938446592d86f2e8f0212b7 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 21 Aug 2019 06:16:25 +0000 Subject: [PATCH] Fix spelling --- debug.go | 2 +- docs/introduction.rst | 2 +- examples/kernel-exploit/Makefile | 2 +- qemu/qemu-kernel.go | 4 ++-- tools/qemu-centos-img/7/Dockerfile | 2 +- tools/qemu-debian-img/Dockerfile | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/debug.go b/debug.go index ff2b839..a777740 100644 --- a/debug.go +++ b/debug.go @@ -161,7 +161,7 @@ func debugHandler(kcfg config.KernelConfig, workPath, kernRegex, gdb string, q.Debug(gdb) coloredGdbAddress := aurora.BgGreen(aurora.Black(gdb)) - fmt.Printf("[*] gdb runned on %s\n", coloredGdbAddress) + fmt.Printf("[*] gdb is listening on %s\n", coloredGdbAddress) err = q.Start() if err != nil { diff --git a/docs/introduction.rst b/docs/introduction.rst index 161ee26..72b3c04 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -54,7 +54,7 @@ Overview $ out-of-tree debug --kernel 'Ubuntu:4.15.0-58-generic' [*] KASLR SMEP SMAP - [*] gdb runned on tcp::1234 + [*] gdb is listening on tcp::1234 [*] build result copied to /tmp/exploit ssh -o StrictHostKeyChecking=no -p 29308 root@127.133.45.236 diff --git a/examples/kernel-exploit/Makefile b/examples/kernel-exploit/Makefile index e81ae10..3894ece 100644 --- a/examples/kernel-exploit/Makefile +++ b/examples/kernel-exploit/Makefile @@ -2,7 +2,7 @@ # - KERNEL: kernel headers path # - TARGET: name of exploit binary that MUST be produced by makefile. # - $(TARGET)_test: name of test binary that MUST be produced by makefile -# and it's will be runned on a LPE stage. TARGET_TEST MUST accept two argument: +# and it's will be executed on a LPE stage. TARGET_TEST MUST accept two argument: # - Path to exploit binary # - File that MUST be created with exploit. It uses for test that exploit works # correctly. diff --git a/qemu/qemu-kernel.go b/qemu/qemu-kernel.go index e0865de..c90ecbe 100644 --- a/qemu/qemu-kernel.go +++ b/qemu/qemu-kernel.go @@ -60,7 +60,7 @@ type Kernel struct { InitrdPath string } -// System describe qemu parameters and runned process +// System describe qemu parameters and executed process type System struct { arch arch kernel Kernel @@ -86,7 +86,7 @@ type System struct { Died bool sshAddrPort string - // accessible while qemu is runned + // accessible while qemu is running cmd *exec.Cmd pipe struct { stdin io.WriteCloser diff --git a/tools/qemu-centos-img/7/Dockerfile b/tools/qemu-centos-img/7/Dockerfile index c47e494..a3ebcd0 100644 --- a/tools/qemu-centos-img/7/Dockerfile +++ b/tools/qemu-centos-img/7/Dockerfile @@ -47,7 +47,7 @@ ENV IMAGE=/shared/out_of_tree_centos_7.img RUN mkdir $IMAGEDIR -# Must be runned with --privileged because of /dev/loop +# Must be executed with --privileged because of /dev/loop CMD qemu-img create $IMAGE 2G && \ mkfs.ext4 -F $IMAGE && \ mount -o loop $IMAGE $IMAGEDIR && \ diff --git a/tools/qemu-debian-img/Dockerfile b/tools/qemu-debian-img/Dockerfile index 1fbb6c8..ecfa1b1 100644 --- a/tools/qemu-debian-img/Dockerfile +++ b/tools/qemu-debian-img/Dockerfile @@ -25,7 +25,7 @@ ENV RELEASE=bionic RUN mkdir $IMAGEDIR -# Must be runned with --privileged because of /dev/loop +# Must be executed with --privileged because of /dev/loop CMD debootstrap --include=openssh-server $RELEASE $TMPDIR $REPOSITORY && \ /shared/setup.sh $TMPDIR && \ qemu-img create $IMAGE 2G && \