Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The problem is not the same this time, as there are no errors in the log file.
Anyway since you're a newbie that doesn't try to use a search engine in order to solve problems, here is a link on how to install dvwa in ubuntu with php7. Try to adopt it to fit your setup.
Also IMO as a noob, you should have used a more user friendly distro and not Kali that is intended for more experienced users
I tried doing as written in the blog, but when i type this command
sudo vim /etc/php/7.0/apache2/php.ini
as in pt.5..it just opens a blank page..i see in the video there are things that should be written here which i have to edit.
But i just get a new file/page which is blank.Unlike the video where they are running ubuntu on a mac,i am running kali on ubuntu through virtual box
Also you are right about that...i have windows10 and ubuntu dual booted in my laptop..i wanted to learn about hacking and stuff so i started learning from youtube videos and did as was said.They showed to do things from kali in virtual box from a base linux distro..thus i started using kali in virtualbox in ubuntu.I was proceeding all right but just got stuck in dvwa..usually other problems i had before i could figure out a way in a day or two.This problem is like unsolvable..already have spend like a week and still stuck here
I tried doing as written in the blog, but when i type this command
sudo vim /etc/php/7.0/apache2/php.ini
as in pt.5..it just opens a blank page..i see in the video there are things that should be written here which i have to edit.
But i just get a new file/page which is blank.Unlike the video where they are running ubuntu on a mac,i am running kali on ubuntu through virtual box
Apparently there is no php.ini file in that location.
You could use the commands find or locate to find the php.ini in your distro. Or try:
Code:
php -i | grep "Loaded Configuration File"
Quote:
i wanted to learn about hacking and stuff so i started learning from youtube videos and did as was said.They showed to do things from kali in virtual box from a base linux distro..thus i started using kali in virtualbox in ubuntu.I was proceeding all right but just got stuck in dvwa..usually other problems i had before i could figure out a way in a day or two.This problem is like unsolvable..already have spend like a week and still stuck here
IMO you should be more experienced before learning "hacking and stuff". And you're not going to learn things from videos, if you don't put your hands into it
Apparently there is no php.ini file in that location.
You could use the commands find or locate to find the php.ini in your distro. Or try:
Code:
php -i | grep "Loaded Configuration File"
It points to
/etc/php/7.0/cli/php.ini
Ok i will try with this one
[QUOTE=IMO you should be more experienced before learning "hacking and stuff". And you're not going to learn things from videos, if you don't put your hands into it[/QUOTE]
I didn't have any idea how to start that's why thought maybe i could learn something from videos.Do you suggest i get my basics on networking/programming clear and maybe after that start these things?But even then i may not know how to start.If you could help in that aspect that would be great..like telling me how to start..and like what topics
It points to
/etc/php/7.0/cli/php.ini
Ok i will try with this one
So if you want to be a hacker, you should have thought of a command like the one above, to find the location of php.ini.
Quote:
I didn't have any idea how to start that's why thought maybe i could learn something from videos.Do you suggest i get my basics on networking/programming clear and maybe after that start these things?But even then i may not know how to start.If you could help in that aspect that would be great..like telling me how to start..and like what topics
Of course you can learn from videos, my objection is that you need more expertise in Linux before trying "hacking and stuff".
You need to understand the error(s), examine log files and use the search engines trying to solve the problem. And of course come here at LQ posting your problem along with the logs and giving details like distro, version, faulty program, etc.
So if you want to be a hacker, you should have thought of a command like the one above, to find the location of php.ini.
Of course you can learn from videos, my objection is that you need more expertise in Linux before trying "hacking and stuff".
You need to understand the error(s), examine log files and use the search engines trying to solve the problem. And of course come here at LQ posting your problem along with the logs and giving details like distro, version, faulty program, etc.
Sir,I figured out another way and now i am able to use dvwa.I downloaded lab26 from vulnhub.com and set that up in up virtualbox..using its ipaddress i can now access dvwa,bWapp and few other things from my ubuntu.Saw it here https://youtu.be/uNJ6SYMzEOk
Can you tell if this is safe or not?..i mean i am using the userid and password from the website.
And sir as you said i will surely work on my linux knowledge
Sir,I figured out another way and now i am able to use dvwa.I downloaded lab26 from vulnhub.com and set that up in up virtualbox..using its ipaddress i can now access dvwa,bWapp and few other things from my ubuntu.Saw it here https://youtu.be/uNJ6SYMzEOk
Can you tell if this is safe or not?..i mean i am using the userid and password from the website.
Glad to see you've sorted it out.
I didn't watch the video, so I don't know what you mean by if it's safe? You can always change at least the password before starting using it for your tests.
Glad to see you've sorted it out.
I didn't watch the video, so I don't know what you mean by if it's safe? You can always change at least the password before starting using it for your tests.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.