P
P
pcdesign2015-03-02 12:46:12
linux
pcdesign, 2015-03-02 12:46:12

How to get website content using curl?

Here is a site:
www.flynumber.com
If it is accessed from a browser, it opens normally.
But it's worth doing:
curl https://www.flynumber.com
I get in circulation:

<div id="center-title">
                <p>403: Access Forbidden</p>
        </div>
        <p>Malware detected.</p>

How to bypass it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2015-03-02
@pcdesign

Change user agent:
curl http://www.flynumber.com -A 'Mozilla/4.0'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question