🔒 Closed How to make ssh/payload/squid/softether (upnext)

Status
Not open for further replies.

zuudash1

Eternal Poster
Prerequisite:
Server
You do not have permission to view the full content of this post. Log in or register now. Highly Recommended Cost only $5 a mo
(Salamat sa mga magreregister under this link) promo code LOWENDBOX (meron ka ng $10 bonus+$15 promo code + $5 binili mo bali $30 lahat pang 6mo =)
Vül†r Recommended Cost only $5 a mo
brain.sh


SSH muna tayo.
Requirements:
You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.

• Open Putty and type
• useradd (Ito ang magiging user name mo)
• then type mo passwd (ung ginawa mong username)
• Tandaan mo! yan na ung ssh account mo!
• Tapos puntahan mo ito sa winscp /etc/ssh/sshd_config
• double click mo lang then hanapin mo ito sa loob
• #What ports, ips and protocols we listen for
Port 22
Port 443 (additional lang to optional)
Port 80 (additional lang to optional)
Port 8080 (additional lang to optional)


Squid naman tayo.

• Open Putty and type
• apt-get install squid -y or squid3 -y
• Open mo naman si winscp
• puntahan mo ito /etc/squid/squid.conf or /etc/squid3/squid.conf
• burahin mo muna laman nya sa loob
• tapos paste mo ito
acl url1 url_regex -i 127.0.0.1
acl url2 url_regex -i localhost
acl url3 url_regex -i (Lagay mo IP ng Server mo dito pakitangal parenthesis)
acl payload url_regex -i "/etc/squid/payload.txt"
http_access allow url1
http_access allow url2
http_access allow url3
http_access allow payload
http_access deny all
http_port 8080
http_port 80
http_port 3128
visible_hostname (Hostname mo naman dito parenthesis)
forwarded_for off
via off

• may squid ka na din heheh

Payload naman tayo.

• Open Putty
• Type
apt-get install apache2 -y (for apache)
apt-get install nginx -y (for nginx)
• antayin mo lang mag install sya

Note: ung payload mo dito ay ung ip ng server mo


Bonus:
• iptables -A INPUT -i eth0 -p tcp -m multiport --dports 22,80,443 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o eth0 -p tcp -m multiport --sports 22,80,443 -m state --state ESTABLISHED -j ACCEPT

ngayon pwede na mag accept ng ssh,http,https yan

• iptables -A INPUT -p tcp --dport 80 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT
• iptables -A INPUT -p tcp --dport 22 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT(Optional)
• iptables -A INPUT -p tcp --dport 443 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT(Optional)

para di ka maddos


Para mapagana mo ng port na inadd mo kung meron man
ito gagawin mo
• iptables -t nat -A PREROUTING -p tcp -d 192.168.102.37 --dport 443 -j DNAT --to 192.168.102.37:22

• tapos i add mo din to
iptables -A INPUT -i eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o eth0 -p tcp --sport 443 -m state --state ESTABLISHED -j ACCEPT

Note: Red 192.168.102.37 (yan ung ip address ng router mo)
443 (yan naman ung i-nadd mo na port)

YAY tapos na pala hahah meron ka ng completong ssh config para sa
Http Injector ung softether soon hihih


Upnext: Softether
OpenVpn


Credits kay sir gipste sa kanyang thread
Ito Link nya sa post nya
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 2K
    Views
  • 6
    Participants
Last reply from:
zuudash1

Online now

Members online
1,065
Guests online
1,705
Total visitors
2,770

Forum statistics

Threads
2,275,255
Posts
28,961,834
Members
1,232,680
Latest member
jul201602
Back
Top