Author: Hans-Henry Jakobsen
Embed exif comment with jhead
The jhead program be used to add or modify comments in JPEG image files. However I found using the -ce option to ‘edit comments’ not a good way to do that as it adds an extra newline to the end of the comment.
Transaction failed on admin.flaubris.no and URI /content/edit/1780/f/nor-NO with ID TRANSID-799da63a4fda91bfa7be12bd574d79f1
eZ Publish kom med denne feilmelding i dag jeg fikk ikke endret eller laget nye artikler, eller for den saks skyld lagt til nytt innhold generelt. I loggen til eZ Publish sto følgende feilmelding Transaction in progress failed due to DB error, transaction was rollbacked. Feilen viste seg å være at databasen til eZ Publish […]
nmap/nbtscan scan for å finne pc med åpen port
Dette scriptet scanner IP-er fra ei fil og finner ut hvem som har en spesiell port åpen.Lim inn følgende script kode i fila portLookup.sh #!/bin/bashNETWORKTARGET=$1PORT=$2FN=”port”# Scan Network Input File for active hosts saving IPS to $FNips.txtnmap -sS -p $PORT -n -iL $NETWORKTARGET -oG – | grep open | awk ‘/[1-9].[1-9]/ {print $2}’ > ${FN}ips.txt# use […]