Giter VIP home page Giter VIP logo

microsoft-teams-gifshell's People

Contributors

bobbyrsec avatar gadzy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

microsoft-teams-gifshell's Issues

Stager script error

First of all, thank you for the contribution!

I'm able to follow the step till "Step 8. Run the Powershell stager script on the victim’s machine" and show below errors, the JSON data however was sent to Teams channel through Webhook once, please advise. Thank you!

Recursive Errors

http://mydomain:8888/.gif
False
You cannot call a method on a null-valued expression.
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:21 char:1

  • echo $b.GetType()
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    
    

You cannot call a method on a null-valued expression.
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:22 char:1

  • $b = $b.Trim()
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    
    
    

Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string.
Parameter name: startIndex"
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:27 char:1

  • $DecodedText2 = $DecodedText.Substring($DecodedText.IndexOf("`;hello; ...
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : ArgumentOutOfRangeException
    
    

Invoke-Expression : Cannot bind argument to parameter 'Command' because it is null.
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:35 char:32

  • $cmdOutput = Invoke-Expression $DecodedText2 | Out-String
  •                            ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Invoke-Expression], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.InvokeExpressionCommand

You cannot call a method on a null-valued expression.
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:38 char:1

  • $cmdOutput = $cmdOutput.ToString()
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    
    

Exception calling "GetBytes" with "1" argument(s): "Array cannot be null.
Parameter name: chars"
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:42 char:1

  • $encodedBytes = [System.Text.Encoding]::UTF8.GetBytes($cmdOutput)
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : ArgumentNullException
    
    

Exception calling "ToBase64String" with "1" argument(s): "Value cannot be null.
Parameter name: inArray"
At D:\Github\Microsoft-Teams-GIFShell\TeamsShell.ps1:43 char:1

  • $encodedText = [System.Convert]::ToBase64String($encodedBytes)
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : ArgumentNullException
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.