Tag: file
WSUS | Dashboard and Event logs talk about (unspecified) files who cannot be downloaded.
Open the management console, Filter for ‘Approved’, Status: ‘All’. Then add the column ‘File Status’. Maybe disapprove the baddies.
Audio files | Get length in seconds
# sox MYFILE.mp3 -n stat
OpenDKIM | gentoo | warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory
On Gentoo some postfix processes run chroot’ed but others do not. In result these processes need different sock locations, but this is impossible. Solution: # mkdir -p /var/run/postfix/var/run/opendkim # chmod milter:milter /var/run/postfix/var/run/opendkim # usermod -a -G milter postfix # mount –rbind /var/run/opendkim /var/run/postfix/var/run/opendkim
Samba | File Names | Umlaut Characters with strange encodings
Problem: You have a lot of files with strange encoded names like: Your filesystem, transfered from older samba servers, contains files with windows-1252 encoded characters ibn their names, who won’t be displayed by samba. Solution: Use the magic convmv tool: # convmv –notest -r -f windows-1252 -t utf-8 /path/to/your/data Thank you, Bjoern JACKE!
SAMBA 4.5 // Gentoo Linux Domain Member // File Server
krb5 pidSources: https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member https://wiki.samba.org/index.php/User_Home_Folders https://wiki.samba.org/index.php/Idmap_config_ad https://wiki.samba.org/index.php/Roaming_Windows_User_Profiles Strategy This machine file server (domain member server). It will serve domain users profiles, homes and other file stuff. ADDC’s IP is 10.81.100.150. This machines IP is 10.81.100.151, host name is F4 Principles Users on a domain member will be authenticated by the domain controller. This process uses […]
Analyzing infected files
MSOFFICE 2007+ unzip the file and get vbaProject.bin sigtool –vba vbaProject.bin PRE MSOFFICE 2007 sigtool –vba FILE.xls EXECUTABLES get http://hexacorn.com/d/PESectionExtractor.pl use it.. sigtool –mdb OR sigtool –md5
BASH | detect text files charset and convert to …
MOD_INTRO_FILE_CHARSET=”$(file -bi “$MOD_INTRO_FILE” | grep charset | sed “s|.*\=||” | awk ‘{print $1}’)” if [ “x$MOD_INTRO_FILE_CHARSET” != “x” ]; then $(which iconv) -l | grep -wi $MOD_INTRO_FILE_CHARSET > /dev/null if [ $? -eq 0 ]; then MOD_INTRO=”$(cat “$MOD_INTRO_FILE” | $(which iconv) -cs -f $MOD_INTRO_FILE_CHARSET -t $CHARSET_TEXTFILE)” else MOD_INTRO=”$(cat “$MOD_INTRO_FILE”)” fi else MOD_INTRO=”$(cat “$MOD_INTRO_FILE”)” fi
You must be logged in to post a comment.