Giter Site home page Giter Site logo

pentesting's Introduction

pen testing

ssh [email protected] -p 1001

basic ssh commands

Apart from starting an SSH session, it is also possible to copy files fromM1toM2and back, by usingM1’s commandline. This is done using thescpcommand. To copy the file/home/bob/grocerylist.txtfrom M2toM1, execute the command scp -P 1001 1.2.3.4:/home/bob/grocery_list.txt ./grocery_list.txt. To copy the file back to theremoteM2, execute: scp -P 1001 ./grocery_list.txt 1.2.3.4:/home/bob/grocery_list.txt.

basic privelege escalation

ls this is because we specified the -a flag, which causeslsto output additional information.

-rw-rw-r--.

•Theownerof the file can... •read it •write to it •-but not execute it

•Thegroupassociated with the file can... •read it •write to it8 •-but not execute it

•Anyoneelsecan... •read the file •-but not write to it •-or execute it

linux file descriptor

Every process in Linux (and Windows, too) has a number which is its process id(pid). This number uniquely identifies the process. The above program, when launched,will display the pid of its own process. Launch the program, then on a different terminalexecute the following command:ls -la /proc//fdwhereshould be replaced with the actual pid that theprocess reported

file decriptor challenge

pawnable.kr read open call c

imp, xxd xxd_demo > xxd_demo.hex

http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet

pentesting's People

Contributors

abankalarm avatar

Stargazers

Prashant Mishra avatar

Watchers

 avatar

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.