Giter Club home page Giter Club logo

Comments (4)

tintinweb avatar tintinweb commented on June 27, 2024

Hi @VictorYYW,

that's pscp on windows debugged with windbg. the output shown is from windbg.

cheers,
tin

from pub.

VictorYYW avatar VictorYYW commented on June 27, 2024

Oh, I see. I am trying to reproduce it in Debian docker container. What I have is that, pscp exit with code 1 in gdb and an error message "Fatal: Server unexpectedly closed network connection", which is expected from my perspective because the server closed the connection after peer did not ask for a shell.

Is it the expected behavior? If not, do you have any suggestion? Thank you for your time! @tintinweb

from pub.

tintinweb avatar tintinweb commented on June 27, 2024

@VictorYYW Verify that you're running a vulnerable version of pscp. It unexpectedly closes the connection because it crashes. attach gdb to pscp before trriggering the poc to catch the segmentation fault and continue analyzing it (there's great tutorials about that online :)

gdb --args pscp arg1 arg2 arg3

cheers

from pub.

VictorYYW avatar VictorYYW commented on June 27, 2024

@tintinweb I just checked the source file and found the vulnerable code remained not fixed.

I have a basic knowledge of gdb. Here's what I have found.
image
image
It would be great if you give me any hint!

from pub.

Related Issues (6)

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.