-
Notifications
You must be signed in to change notification settings - Fork 57
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
[OPTIMIZATION] 任务日志友好提示 #446
Comments
File "/data/bkee/bknodeman/nodeman/script_tools/wmiexec.py", line 118, in run |
[2022-01-18 20:15:57 ERROR] [proxy] Traceback (most recent call last):/n File '/opt/py36/lib/python3.6/site-packages/impacket/smbconnection.py', line 271, in login/n return self._SMBConnection.login(user, password, domain, lmhash, nthash)/n File '/opt/py36/lib/python3.6/site-packages/impacket/smb3.py', line 935, in login/n if packet.isValidAnswer(STATUS_SUCCESS):/n File '/opt/py36/lib/python3.6/site-packages/impacket/smb3structs.py', line 454, in isValidAnswer/n raise smb3.SessionError(self['Status'], self)/nimpacket.smb3.SessionError: SMB SessionError: STATUS_LOGON_FAILURE(The attempted logon is invalid. This is either due to a bad username or authentication information.)/n/nDuring handling of the above exception, another exception occurred:/n/nTraceback (most recent call last):/n File '/tmp/bkjob/root/bk_gse_script_20002162629_20002658710.py', line 894, in /n main()/n File '/tmp/bkjob/root/bk_gse_script_20002162629_20002658710.py', line 482, in main/n tmp_dir,/n File '/tmp/bkjob/root/bk_gse_script_20002162629_20002658710.py', line 179, in windows_cmd/n execute_win_commands(['mkdir {}'.format(tmp_dir)], login_ip, user, identity, download_url)/n File '/tmp/bkjob/root/bk_gse_script_20002162629_20002658710.py', line 197, in execute_win_commands/n res = execute_cmd(cmd, login_ip, user, identity, download_url, noOutput=noOutput)/n File '/tmp/bkjob/root/bk_gse_script_20002162629_20002658710.py', line 325, in execute_cmd/n result_data = executor.run(ipaddr)/n File '/tmp/bkjob/root/wmiexec.py', line 81, in run/n smbConnection.login(self.__username, self.__password, self.__domain, self.__lmhash, self.__nthash)/n File '/opt/py36/lib/python3.6/site-packages/impacket/smbconnection.py', line 273, in login/n raise SessionError(e.get_error_code(), e.get_error_packet())/nimpacket.smbconnection.SessionError: SMB SessionError: STATUS_LOGON_FAILURE(The attempted logon is invalid. This is either due to a bad username or authentication information.)/n |
登录失败提示生成
|
[2022-03-01 20:26:39 ERROR] [3803011] IO 异常:Failure The above exception was the direct cause of the following exception: Traceback (most recent call last): ******** End of collected logs ********* Windows:占用文件目录导致的 |
[2022-03-04 10:35:32 ERROR] [3803009] 命令返回非零值:exit_status -> 23, stdout -> , stderr -> stty: standard input: Inappropriate ioctl for device 删除对应下载的文件 |
[2022-03-09 09:13:27 ERROR] [3803007] 远程连接失败:[Errno 110] Connect call failed ('xxxx', 3600) The above exception was the direct cause of the following exception: Traceback (most recent call last): ******** End of collected logs ********* 端口填错 |
[2022-03-09 22:24:20 ERROR] [3803005] 认证失败,请检查认证信息是否有误:Permission denied The above exception was the direct cause of the following exception: Traceback (most recent call last): ******** End of collected logs ********* |
💡 枚举各种场景情况的堆栈,给出具体的解决方案 |
概要: [3803005] 认证失败,请检查认证信息是否有误:Permission denied
|
你想要什么功能
为什么需要
建议如何实现
The text was updated successfully, but these errors were encountered: