From 9272f8974a85fe52342146435702221472fa10b7 Mon Sep 17 00:00:00 2001 From: Noah Bliss Date: Tue, 31 Oct 2017 17:58:37 -0500 Subject: [PATCH 1/3] Added requirements.txt. --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..1b9e8ea --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +requests +dnslib From 8c5e003e898c05218d7437cbdb8448cedaac9b02 Mon Sep 17 00:00:00 2001 From: L3vi47h4N Date: Tue, 31 Oct 2017 18:03:19 -0500 Subject: [PATCH 2/3] Updated README for grammar. Improved general readability. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f003657..08f0acf 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@

Understanding DNS-Shell

-

The Payload is generated when the sever script is invoked and it simply utilizes nslookup to perform the queries and query the server for new commands the server then listens on port 53 for incoming communications, once payload is executed on the target machine the server will spawn an interactive shell.

-

Once the channel is established the payload will continously query the server for commands if a new command is entered, it will execute it and return the result back to the server.

+

The Payload is generated when the server script is invoked. It utilizes nslookup to query the server for new commands. The server listens on port 53 for incoming connections. Once the payload is executed on the target machine, the server will spawn an interactive shell.

+

After a channel is established, the payload will continously query the server for commands. If a new command is entered, it will execute and return the result back to the server.

Using DNS-Shell

Running DNS-Shell is relatively simple

-

DNS-Shell supports two mode of operations direct and recursive modes: +

DNS-Shell supports two mode of operations: direct and recursive modes.