Package eu.tneitzel.rmg.io
Class DevNullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- eu.tneitzel.rmg.io.DevNullOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class DevNullOutputStream extends OutputStream
Dummy implementation of an OutputStream. This one is used during the ssrf-response action to prevent remote-method-guesser from sending RMI messages to anywhere.- Author:
- Tobias Neitzel (@qtc_de)
-
-
Constructor Summary
Constructors Constructor Description DevNullOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(int b)-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
-
-
-
Method Detail
-
write
public void write(int b) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
-