» Home » damn » Page 1
Is it possible to do SQL injection (HIGH Level) on Damn Vulnerable Web App?
Category : Programming Languages

I searched all over google to see how it would be possible to bypass the following (it's from the high level of security from DVWA):

$id = $_GET['id'];
$id = stripslashes($id);
$id = mysql_real_escape_string($id);
if (is_numeric($id)){
$getid = "SELECT first_name, last_name FROM users WHERE user_id = '$id'";
$result = mysql_query(

View Replies

How to Find the MAC Address in Damn Small Linux
Category : Computers
Damn Small Linux, also called DSL, is a lightweight Linux operating system. With a full size of 50 MB, DSL fits on USB flash drives, CDs and DVDs. It also runs well on older hardware. DSL is commonly used as a diagnostic tool run from a flash drive or CD. Graphical system utilities included in other distributions are generally not found in Damn Small Linux because of its size. This means that to f

View Replies

Ruby rails - damn frustrated - my first Ajax
Category : Programming Languages

Here is my simple ajax code, I am new so its driving me insane.
The request is made properly, I get the response but my view does not get rendered with new data. I get a new page with new html that I asked to render instead being rendered inside current page. What am I missing????

controller -

def list
@users = User.find(:all)

View Replies

How to Install Damn Small Linux on a USB Card
Category : Computers
For computer users that prefer to run in a Linux operating system to do their computing it is possible to carry your own bootable Linux operating system on your USB Card or drive that will start on any computer that can boot from a USB device. Users that have the experience to work in Linux find that it is more versatile and controllable than Microsoft Windows platforms.Difficulty:Moderately EasyI

View Replies

Missing something with Reader monad - passing the damn thing around everywhere
Category : Programming Languages

Learning Haskell, managing syntax, have a rough grasp of what monads etc are about but I'm clearly missing something.

In main I can read my config file, and supply it as runReader (somefunc) myEnv just fine. But somefunc doesn't need access to the myEnv the reader supplies, nor do the next couple in the chain. The function that nee

View Replies

Redirection from QProcess ouput into a QTextEdit is damn slow
Category : Network & Servers

I have sample TCL script which print 10000000 lines in a loop without any delay. I calling this tcl script from QProcess. I am using the signal readyReadStandardOutput and calling a slot updateoutput which prints the output into the Textedit.

void MainWindow::updateOutput()
QByteArray bytes = m_process->readAllStandardOutput();

View Replies

It is damn too slow to get current style on Chrome using javascript
Category : Javascript

I am stuck with a stupid problem. Below is my code to get computed style of a dom. It run well on FireFox and even IE (surprised)! but damn too slow on chrome v17 (20x time slower). How to avoid the problem?

getCurrentStyle = function(el)
if (el.currentStyle)
return el.currentStyle;
else if (window.getComputedStyle)
return docume

View Replies

Damn how it will work…facebook inline video sharing
Category : Development Tools & Services

i have video site with re written url's. it's youtube embedding videos. i want to share Playable video in jwplayer on facebook.i found jwplayer help,it seems like this


<meta property="og:description" content="Big Buck Bunny is a short animated film by the Blender Institute. It is made using free

View Replies

CGI Perl script and Monkey web server on Damn Small Linux
Category : Operating Systems

I need small virtual machine with a Web server, so I decided to install Damn Small Linux. I need to run a Web server that is hosting a site with a script that checks for a server's IP address and returns it in a HTML page. So far I have something like this working:

Script file:

print "Content-type: text/html
" ;
print <<EOF ;

View Replies

Java reflect API wrapper (damn checked exceptions cluttering)
Category : Programming Languages

I have methods that look like this:

public static <U extends Entity<?, ?>> Http<List<U>> getAllFromServerThreadRun(Integer maxResults, Class<U> clazz) {
JsonObject o2 = new JsonObject(); // TODO exception chaos im projekt
// überarbeiten
o2.addProperty("maxResults", maxResult

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .