trace
This commit is contained in:
@@ -601,7 +601,7 @@ func ToHtml(path string, timestamp string, port string, ipDaTA []byte) {
|
||||
encodedStr := hex.EncodeToString(ipDaTA)
|
||||
// [72 101 108 108 111]
|
||||
log.Trace(encodedStr)
|
||||
command := fmt.Sprintf("/usr/local/bin/ipdata2html -f %s -t %s -i %s -d %s", path, timestamp, port, encodedStr)
|
||||
command := fmt.Sprintf("/usr/local/bin/data2html -f %s -t %s -i %s -d %s", path, timestamp, port, encodedStr)
|
||||
log.Trace("commm:", command)
|
||||
cmd := exec.Command("sh", "-c", command)
|
||||
_, err := cmd.CombinedOutput()
|
||||
|
||||
Reference in New Issue
Block a user