LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-30-2017, 07:16 AM   #16
test2017
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by bathory View Post
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

Last edited by test2017; 07-30-2017 at 07:19 AM.
 
Old 07-30-2017, 11:14 AM   #17
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
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
 
Old 07-30-2017, 11:32 AM   #18
test2017
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by bathory View Post
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

Last edited by test2017; 07-30-2017 at 11:36 AM.
 
Old 07-30-2017, 01:38 PM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
php -i | grep "Loaded Configuration File"

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.
 
Old 07-30-2017, 02:10 PM   #20
test2017
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by bathory View Post
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
 
Old 07-31-2017, 01:21 AM   #21
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by test2017 View Post
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.

Regards
 
Old 07-31-2017, 01:34 AM   #22
test2017
LQ Newbie
 
Registered: Jul 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by bathory View Post
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.

Regards
Ok sir...thanks for your help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Gnuplot not displaying data correctly Annielover Linux - Newbie 2 06-24-2012 04:59 AM
8.10 - Keys not displaying correctly anthonysaulnier Ubuntu 3 11-16-2008 02:49 AM
VNC not displaying correctly BallsOfSteel Linux - Software 1 04-22-2008 05:29 PM
windows not displaying correctly zchoyt Linux - General 1 03-19-2005 10:37 PM
Battery not displaying correctly in KDE3 metalaid Linux - Software 3 01-22-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration