Hacklog Volume 1 Anonymity: it security & Ethical Hacking Handbook



Download 2,32 Mb.
Pdf ko'rish
bet10/57
Sana01.01.2022
Hajmi2,32 Mb.
#289651
1   ...   6   7   8   9   10   11   12   13   ...   57
Bog'liq
Hacklog Volume 1 Anonymity IT Security Ethical Hacking Handbook

proxychains-NG
[10]
.  As  an  advantage,  proxychains  ensures  that  any  program  –
and all its dependencies – use only SOCKS4, SOCKS5 or HTTP/S protocols for
outbound  communications.  A  word  of  warning:  proxychains  is  officially
available for UNIX systems only, i.e. GNU/Linux, macOS, (via Brew) and BSD.
In  order  to  limit  any  possible  issues,  we  will  use  the  historical  version  (the
deprecated  one),  still  100%  working  and  available  from  Debian  8  repositories.
Here’s how to install it:
$ su
$ apt-get install proxychains
$ exit
It  can  also  be  executed  by  normal  users,  so  you  should  get  back  to  your
default user via the exit command. To use the program:
$ proxychains wget
http://ipinfo.io/ip
-qO -
As  you  can  see,  it’s  very  simple:  just  type  “proxychains”  before  the
command you wish to use. However, when you launch the command, you’ll get
the following error:
$ proxychains wget
http://ipinfo.io/ip
-qO -
ProxyChains-3.1 (
http://proxychains.sf.net
)
|DNS-request|
ipinfo.io


|S-chain| -<>- 127.0.0.1:9050-<--timeout
|DNS-response|:
ipinfo.io
does not exist
This  happens  because  proxychains  reads  a  proxy  configured  over  the  9050
port of your computer by default, i.e. in local with 127.0.0.1 as the IP. To let it
read a list of your proxies, you have to create a config file. Using the terminal,
launch the following:


$ mkdir $HOME/.proxychains
$ nano $HOME/.proxychains/proxychains.conf
This  way,  we  firstly  created  the  folder  containing  the  config  file,  then  we
launched  the  nano  text  editor  over  the  “secret”  path  in  our  user  folder.  Please
note the first call of $HOME, a variable allowing you to immediately access the
absolute  folder  of  your  user.  In  my  case,  the  user  is  named  stefano9lli,  so  the
folder path will be /home/stefano9lli, which is in turn appended to the rest of the
string.
You  may  also  notice  that  the  .proxychains  folder  is  called  after  $HOME
variable. In the UNIX world, a period before a folder name means that it must be
hidden when you use a file manager. Now, we will create the proxychains.conf
file within the folder. And we are ready to add some values:
strict_chain
proxy_dns
[ProxyList]
http proxy port
Save  using  the  CTRL+X  combination,  the  Y  key  and  pressing  ENTER.
Remember:  you  can  use  one  of  the  following  configurations  to  use  different
protocols:
strict_chain
proxy_dns
[ProxyList]
http proxy port
socks4 proxy port
socks5 proxy port
Launch again wget with the new configuration (in this example, the proxy is


177.73.177.25 and the port is 8080):
$ proxychains wget
http://ipinfo.io/ip
-qO -
ProxyChains-3.1 (
http://proxychains.sf.net
)
|DNS-request|
ipinfo.io
|S-chain|-<>-177.73.177.25:8080-<><>-4.2.2.2:53-<><>-OK
|DNS-response|
ipinfo.io
is 54.164.157.29
|S-chain|-<>-177.73.177.25:8080-<><>-54.164.157.29:80-<><>-OK
177.73.177.25
|DNS-response|:
ipinfo.io
does not exist
As we can see, this time the ipinfo.io website returns the proxy IP instead the
one  of  yours,  indicating  that  proxychains  worked  successfully.  Keep  in  mind
that,  actually,  many  proxies  could  be  already  configured  to  work  under  certain
conditions  only,  so  they  could  refuse  to  respond  to  some  types  of  domain
requests or to programs without user-agent. Naturally, trying is the best option.
All the use cases for proxychains are explained in the following manual:
$ man proxychains
Proxycap
Maybe the most popular Windows counterpart to proxychains is Proxycap
[11]
(Figure 9), a program developed by the Initex team for over 10 years. Just like

Download 2,32 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   ...   57




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish