Apr4h / CobaltStrikeScan

Scan files or process memory for CobaltStrike beacons and parse their configuration
MIT License
900 stars 114 forks source link

[build]nuget error :cannot find 4.0.3 “Microsoft.O365.Security.Native.libyara.NET”。 #16

Closed ShiverZm closed 2 years ago

ShiverZm commented 2 years ago

Describe the bug when i build this solution, there is a error about nuget

To Reproduce build the solution

Expected behavior build successfully,and run successfully

Screenshots 截图_20220623151714

Desktop (please complete the following information):

ShiverZm commented 2 years ago

i add a source to solve above problem ,but new error come up:

StreamJsonRpc.RemoteInvocationException: New debugging session can't be started until the existing one has ended. 在 StreamJsonRpc.JsonRpc.d139`1.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Microsoft.CodeAnalysis.EditAndContinue.RemoteEditAndContinueServiceProxy.<>cDisplayClass7_0.<b0>d.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) 在 Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.d19.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) RPC server exception: System.InvalidOperationException: New debugging session can't be started until the existing one has ended. 在 Roslyn.Utilities.Contract.Fail(String message) 在 Microsoft.CodeAnalysis.EditAndContinue.EditAndContinueWorkspaceService.d10.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Microsoft.CodeAnalysis.EditAndContinue.RemoteEditAndContinueService.<>cDisplayClass7_0.<b0>d.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Microsoft.CodeAnalysis.Remote.BrokeredServiceBase.d14.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

ShiverZm commented 2 years ago

solved.

ShiverZm commented 2 years ago

add a source to vs : https://www.nuget.org/api/v2/