Posts

Showing posts from 2013

Multiple Desktop Screen 2 Monitor + 1 Ipad

Image
Today i can build multiple Dekstop Screen on My PC with 2 Monitor ( Laptop + Monitor Display ) and 1 Ipad Monitor

 What i need :

1. Laptop 2 Monitor

 - 1 Build in 1 Extended - Windows 7
 - Install Air Display http://avatron.com/apps/air-display
 - Ultramon http://uploaded.net/file/riww1p43/izajb.UltraMon.3.2.2.x86x64.rar

2. Ipad Jailbreak 6.0.1-6.1 :

 - www.evasi0n.com , evasi0n - iOS 6.0-6.1.2 Jailbreak ( Didnt work in iOS > 6.1.3 ) - Install Zeusmos or Vshare in Cydia ( Search ).
 - Install Air Display From Zeusmos or Vshare This My Screen Shoot



Defend Pushdo and Cutwail - Iptables - Proxy Reverse Server - Nginx + Naxsi

Why you are buy expensive device when all is opensource ? 


Topology 


Router ( 192.168.1.1 ) - Nginx Proxy Reverse + Naxsi ( 192.168.1.2 ) - Nginx Web Server ( 192.168.1.3 )

Nginx Proxy Reverse + Naxsi ( 192.168.1.2 )

This step how to defend Pushdo/Cutwail where i put naxsi in proxy reverse 

Configure Iptables : 

This block in 4 layer "POST /?ptrxcz" on this situation block pattern string "ptrxcz"



[root@proxy ~]# vi /etc/sysconfig/iptables
*filter
:INPUT ACCEPT [12204116:2175223599]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [13308164:1687844257]
-A INPUT -p tcp -m string --string "ptrxcz" --algo bm --to 65535 -j DROP
COMMIT


Install Nginx + Naxsi


[root@proxy ~]# cd /usr/local/src/
[root@proxy ~]# wget http://nginx.org/download/nginx-x.x.xx.tar.gz 
[root@proxy ~]# wget http://naxsi.googlecode.com/files/naxsi-x.xx.tar.gz 
[root@proxy ~]# tar xvzf nginx-x.x.xx.tar.gz 
[root@proxy ~]# tar xvzf naxsi-x.xx.tar.gz 
[root@proxy ~]# cd nginx-x.x.xx/
[root@proxy ~]# ./configure --co…

Pushdo and CutWail - Iptables + Nginx + Naxsi

Firewall - Server ( Iptables ) - Nginx + Naxsi

Analysis of Impact to High Load CPU  - with spam and there is the largest botnet in terms of the amount of infected hosts. Im put this article where is ive got million parameter POST

67.248.43.182 - - [25/Mar/2013:23:23:31 +0700] "POST /?ptrxcz_EEEFFFFFFFFFFGGGGGGGGGGHHHHHHH HTTP/1.1" 404 564 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
190.25.79.166 - - [25/Mar/2013:23:23:31 +0700] "POST / HTTP/1.1" 302 5 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
190.118.16.50 - - [25/Mar/2013:23:23:31 +0700] "POST /?ptrxcz_effffffffgggggggghhhhhhhhhiiii HTTP/1.1" 404 564 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
189.164.7.205 - - [25/Mar/2013:23:23:31 +0700] "POST /?ptrxcz_tx147AEHLORVYbehkosvz259CFJNQT HTTP/1.1" 404 564 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
190…

OJS and Nginx

Im decide to put web server nginx to OJS , make some rewrite there is problem with preety url with OJS

as you can see here :

http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=9135

and  it must be : disable_path_info = On

but i dont want it ,  and then i try to search google and this the link usage for me :

http://coolpandaca.wordpress.com/2012/12/07/migrate-ojs-to-nginx-from-apache/

Great article and there is 2 point when value path_info and scriptname : null ...

how to made rewrite in full configuration nginx.conf ?

#----------------------------------------------------------------------
# Events Module
#
#   http://wiki.nginx.org/NginxHttpEventsModule
#
#----------------------------------------------------------------------

events {
    worker_connections  1024;
}


#----------------------------------------------------------------------
# HTTP Core Module
#
#   http://wiki.nginx.org/NginxHttpCoreModule
#
#----------------------------------------------------------------------

http {
    include  …