Comments (6)
UPDATE : Fixed it.
Problem was it wasnt locating the pam modules folder correctly. Cant figure out why, but changing the find pam_deny.so command to the locate command worked. :)
from pwncat.
The method of finding the pam folders was different between the removal and install routines. I believe this may have been caused by a botched merge. In any case, they are the same now and I tested installing and removing and it appears to be working from my end. Please re-open if you still have issues, and thanks for all the issues! Seriously, it's helpful to get outside perspective! 👍
from pwncat.
Welcome! Yeah thanks for this, been using a slightly customized version of this project in my offensive toolkit recently :D Makes it so much easier to implement post exploitation modules. (Ive been kind of using the persist command as a way to run some post exploitation modules i made for specific situations xD) Yeah il add any issues I find (and hopefully fixes). Thanks for maintaining this nice tool so regularly :D
from pwncat.
That's awesome! I'm glad it's getting used. If the routines you are trying to implement aren't persistence specifically, you can implement custom commands instead. You can look at some of the smaller/more basic commands for examples (e.g. sync
or even upload
and download
. The API documentation for the commands interface is also over on readthedocs.
That will allow you to take parameters and stuff like a proper command, and it will be automatically syntax highlighted and tab completed for you 😁
from pwncat.
ah, i might look into that! But I like having a prefix cuz im gna be making a bunch of modules and I dont wanna flood myself with commands. Right now i renamed the persist command to deploy so it makes more sense and I just have a bunch of modules so I can do stuff like
deploy -i -m modulename
Where some modules just have an empty remove section if they are a one way action e.g. clearing logs or spawning a reverse shell. How would I go about making a separate "run" or "use" command that takes in modules similar to persist?
from pwncat.
Make a new issue to discuss this in more detail. Please reply there, since this issue is technically closed. Thanks 😅
from pwncat.
Related Issues (20)
- Network enumeration broken on docker containers that return non-0 return codes HOT 1
- Can we get rich bumped to the latest version?
- CryptographyDepricationWarning: Blowfish has been deprecated 'class' : algorithms.Blowfish HOT 1
- paramiko ssh
- Windows Reverse Shell help HOT 2
- Hi Caleb : Please would you rename the project because it is misleading with the other pwncat project ?
- connection failed: channel unexpectedly closed HOT 3
- module 'paramiko.pkey' has no attribute 'load_private_key_file' HOT 2
- SSH Private Keys not in Privesc path
- SU User with NO PASSWD
- Ctrl + D outputs the following HOT 1
- history
- pwncat-cs stuck at "registered new host w/ db"
- details in PS1 HOT 1
- Further Development or good alternative HOT 1
- SSH connexion cannot parse '@' character in password
- Development?
- AttributeError: 'FileFinder' object has no attribute 'find_module' HOT 4
- Replace paramiko-ng With paramiko
- pwncat-cs installation problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwncat.