Skip to content

Commit

Permalink
Output OS type during logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Jun 21, 2020
1 parent 87747c3 commit 467d826
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/pwncat
Original file line number Diff line number Diff line change
Expand Up @@ -3390,7 +3390,7 @@ class IOStdinStdout(IO):

self.log.debug("STDOUT isatty: %s", self.__stdout_isatty)
self.log.debug("STDIN isatty: %s", self.__stdin_isatty)
self.log.debug("STDIN mode: %s", os.name)
self.log.debug("STDIN posix: %s (%s)", str(self.__win), os.name)

# --------------------------------------------------------------------------
# Public Functions
Expand Down
4 changes: 2 additions & 2 deletions docs/pwncat.api.html
Original file line number Diff line number Diff line change
Expand Up @@ -3417,7 +3417,7 @@ <h1 class="title">Module <code>pwncat</code></h1>

self.log.debug(&#34;STDOUT isatty: %s&#34;, self.__stdout_isatty)
self.log.debug(&#34;STDIN isatty: %s&#34;, self.__stdin_isatty)
self.log.debug(&#34;STDIN mode: %s&#34;, os.name)
self.log.debug(&#34;STDIN posix: %s (%s)&#34;, str(self.__win), os.name)

# --------------------------------------------------------------------------
# Public Functions
Expand Down Expand Up @@ -12512,7 +12512,7 @@ <h2 id="args">Args</h2>

self.log.debug(&#34;STDOUT isatty: %s&#34;, self.__stdout_isatty)
self.log.debug(&#34;STDIN isatty: %s&#34;, self.__stdin_isatty)
self.log.debug(&#34;STDIN mode: %s&#34;, os.name)
self.log.debug(&#34;STDIN posix: %s (%s)&#34;, str(self.__win), os.name)

# --------------------------------------------------------------------------
# Public Functions
Expand Down
2 changes: 1 addition & 1 deletion docs/pwncat.type.html
Original file line number Diff line number Diff line change
Expand Up @@ -9975,7 +9975,7 @@ <h2>pwncat</h2>
<span class="line-any" title="Any Types on this line:
Explicit (x4)"> self.log.debug("STDIN isatty: %s", self.__stdin_isatty)</span>
<span class="line-any" title="Any Types on this line:
Explicit (x4)"> self.log.debug("STDIN mode: %s", os.name)</span>
Explicit (x4)"> self.log.debug("STDIN posix: %s (%s)", str(self.__win), os.name)</span>
<span class="line-empty" title="No Anys on this line!"></span>
<span class="line-empty" title="No Anys on this line!"> # --------------------------------------------------------------------------</span>
<span class="line-empty" title="No Anys on this line!"> # Public Functions</span>
Expand Down

0 comments on commit 467d826

Please sign in to comment.