WordPress database error: [Can't create/write to file '/tmp/#sql_60b_0.MYI' (Errcode: 28)]
SHOW FULL COLUMNS FROM `wp_options`

WordPress database error: [Can't create/write to file '/tmp/#sql_60b_0.MYI' (Errcode: 28)]
SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (259) ORDER BY t.name ASC

PowerShell – Crypto Virus Scanner | Data Networking Blog

WordPress database error: [Can't create/write to file '/tmp/#sql_60b_0.MYI' (Errcode: 28)]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (196) ORDER BY t.name ASC

WordPress database error: [Can't create/write to file '/tmp/#sql_60b_0.MYI' (Errcode: 28)]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (262) ORDER BY t.name ASC

Data Networking Blog
Blog for Admins

PowerShell – Crypto Virus Scanner

Standard

So my company was hit with crypto virus twice in the last two and a half weeks. Luckily we got everything under control in time and thankfully did not have to pay a single cent. But as a pro-active measure I wrote a small crypto virus scanner script that scans our file server for files with the .enc extension every 15 minutes and if it finds such a file, it will email you.


$ServerName = gc env:computername
$SmtpClient = new-object system.net.mail.smtpClient
$MailMessage = New-Object system.net.mail.mailmessage
$MailMessage.Body = ""
$SmtpClient.Host = "10.0.0.12"
$MailMessage.from = ("crypto.scanner@example.com")
$MailMessage.To.add("tech@example.com")
$MailMessage.Subject = $ServerName + "Crypto virus detected"
$dst = "e:\Data"
$ext = "*.enc"
function Send-Email {
$SmtpClient.Send($MailMessage)
}
$found = get-childitem $dst -Recurse -Filter $ext | Measure-Object | Select-Object -ExpandProperty Count
if ($found -gt 0){
$MailMessage.Body += "Found $found files with .enc extension on $ServerName. Possible crypto virus infection requires urgent attention"
Send-Email
}

October 7, 2016 Uncategorised Jd
Font Size
Decrease Size Default Size Increase Size
Select Skin
Select Underlay Background
Select Overlay Background
Scheme Switcher Toggle