Comments (2)
From jfbethlehem on June 18, 2010 07:01:40
fix:
class command_touch(HoneyPotCommand):
def call(self):
if not len(self.args):
self.writeln('touch: missing file operand')
self.writeln('Try touch --help\' for more information.') return if not self.fs.exists("%s" % (self.fs.basepath(self.args[0]))): self.writeln('touch: cannot touch
%s`: no such file or directory' % (self.args[0]))
return
for f in self.args:
path = self.fs.resolve_path(f, self.honeypot.cwd)
if self.fs.exists(path):
# FIXME: modify the timestamp here
continue
self.fs.mkfile(path, 0, 0, 0, 33188)
commands['/bin/touch'] = command_touch
from kippo.
From desaster on June 18, 2010 11:29:11
Fix committed, with slight fixes
Status: Fixed
from kippo.
Related Issues (20)
- Unhandle Error - exceptions.ValueError: CTR mode needs counter parameter, not IV HOT 1
- Issue in staarting kippo
- kippo.pid permissions HOT 1
- kippo.pid permission issue HOT 1
- where are the passwords attempts stored?
- Failed to load application: No module named kippo.core.config HOT 10
- Kippo not populating to MYSQL HOT 2
- License HOT 2
- Geoip Page Blank HOT 2
- Kippo error connection lost - bad packet length HOT 2
- Is there a way to drop the privilege to 'nobody' ? HOT 1
- error after run the command ./start.sh HOT 6
- Ubuntu 18.04 - Can not get kippo or cowrite to start, issue with twistd? HOT 2
- Demo Links in REA HOT 1
- Demo Links in README are 502'ing HOT 1
- start.sh not start HOT 2
- Unhandle Error - exceptions.ValueError: CTR mode needs counter parameter, not IV HOT 1
- module 'twisted.cred.credentials' has no attribute 'IPluggableAuthenticationModules' HOT 3
- I mean, it's a tool meant for defenders but it's outdated since 2014? Lol
- Docker Image for running Kippo HOT 3
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 kippo.