Comments (5)
Hi @dattachandan ,
As I can see from your commands, you don't set the optional argument correctly. The port flag should be set before the IP address:
python tomcat.py version --port 20022 10.2.2.11
The same thing applies to the version and list commands. By default, the TCP port 8009 is used.
from ajpy.
Thanks, tried but gives a different error
python tomcat.py version --port 20022 10.2.2.11
usage: tomcat.py [-h] [--port PORT] [-v]
{bf,upload,undeploy,version,list,read_file} ... target
tomcat.py: error: unrecognized arguments: --port 20022
from ajpy.
Sorry, I was completely wrong, as you can see from the provided usage:
python tomcat.py --port 20022 version 10.2.2.11
argparse sucks with subparsers...
from ajpy.
Thanks, that worked.
Does this output mean the tomcat is patched without this CVE issue?
python tomcat.py --port 9009 version 10.2.2.173
No data in response. Headers:
{'data_length': 10,
'http_status_code': 200,
'http_status_msg': b'OK',
'magic': 16706,
'num_headers': 0,
'prefix_code': 4,
'response_headers': {}}
None
from ajpy.
This only means the version could not be retrieved, as in not included in the pages.
from ajpy.
Related Issues (17)
- Create a pip package HOT 5
- Failed to get CSRF token. HOT 5
- Submit a bug HOT 2
- NotImplementedError HOT 4
- Timeout error when using "read_file" functionality HOT 4
- Bruteforce feature not compatible python3
- Missing requirements.txt HOT 1
- run error HOT 5
- Purpose to update the README.md HOT 3
- WATCH OUT! use ajp read_file, the target is down!!! HOT 3
- two question about read file HOT 1
- Fix POST method support HOT 1
- Add support to other application containers HOT 1
- Large WAR files upload not working
- License unclear HOT 10
- Unable to read response content when HTTP_METHOD==POST. HOT 1
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 ajpy.