Montag, 26. Januar 2009

SECURITY macchanger

Montag, 19. Januar 2009

COMP cdrecord

cdrecord -scannbusscsibus1:
1,0,0 100) 'HL-DT-ST' 'DVD+-RW GSA-H31L' 'W616' Removable CD-ROM
1,1,0 101) *

cdrecord -v -pad dev=1,0,0 speed=8 blub.iso

Donnerstag, 8. Januar 2009

anonym in p2p


RShare node, RShareID

Java SQL derby

derby -> apache

System.setProperty("derby.system.home", "dbname.db");

Connection conn = DriverManager.getConnection("jdbc:derby:test_db;create=true");

try {
Statement s = conn.createStatement();
s.execute("CREATE TABLE data (id INT, text VARCHAR(100), PRIMARY KEY (id))");
s.execute("INSERT INTO data VALUES (1, 'Hallo')");
s.execute("INSERT INTO data VALUES (2, 'Blub')");

ResultSet rs = s.exeucteQuery("SELECT text FROM data WHERE id=1");

while ( {
String text = rs.getString("text");
} finally {

Java SQL


connecting to Driver Interface
try {
} catch ( Exception e) { ... }

Connection cn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=bla&password=bla");

SQLException ex;

Statement st = cn.createStatement();
ResultSet rs = st.executeQuery("SELECT ...");

if( st.execute("SELECT ..."))
rs = st.getResultSet();

rs.close(); st.close();


objdump -D -b -m i386 egg_1 > egg_1.asm

((void(*)())buf)(); execute buf, cast to function

p $ebp+4 # show the address
x $ebp+4 # show the content

disas 0x00c42d00

unlimit -c unlimited -> on segmentation fault will get a coredump
-> gdb -c core*

ald: assembly language debugger

ald: attach pid
load prog
d, b 0xbf...
n e -n 280 0xBF
d -n 22 0x...

Dienstag, 6. Januar 2009

JAVA networking


Socket.getInputStream() Socket.getOutputStream()


send(), receive()

RMI Remote Method Invocation


rmic rmi-compiler -> Stub and Skeletonclass

class S as server, implement interface SI, SI has the bussineslogic,
rmi build from it the correct in/output for data

JMS Java Messaging Service

(middleware) asynchrone communication
Queue (point2point), Topic(publish/subscriber)

SOAP simple object access protocol

inter-object-communication (most http as protocol)
XML, textoriented

all: why

here are all information that i gather for me.

that is something about java, hacking, biotechnology and so.