Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

被控端报错panic: runtime error: invalid memory address or nil pointer dereference #3

Open
bingotl opened this issue Apr 5, 2020 · 0 comments

Comments

@bingotl
Copy link

bingotl commented Apr 5, 2020

命令
/etc/profile;/root/ip_table CriiJQxxxx 10.123.111.102 http://ip:10080/api

报错:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x7187e1]

goroutine 1 [running]:
main.getRules(0x0, 0x0, 0x0, 0x0, 0x0)
/Users/mrjun/Golang/main.go:25 +0xd1
main.main()
/Users/mrjun/Golang/main.go:214 +0x149

被控端是nat,ip是内网ip没错,命令应该也没问题,因为在另外一台国外vps上测试返回:清理规则,但是这台nat不行。

已经执行更新yum install ca-certificates -y

麻烦帮看看,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant