x
Search Posts:

TXT BLOG: a pure txt weblog

Questo รจ un blog di puro testo dove gli utenti del sito possono condividere pubblicamente links, snippets di codice ed altre informazioni rigrosamente testuali.

Check out this TOR PROJECT links

https://www.torproject.org/

http://www.atagar.com/arm/

http://tails.boum.org/

_________        ___.                 
\_   ___ \___.__.\_ |__   ___________ 
/    \  \<   |  | | __ \_/ __ \_  __ \
\     \___\___  | | \_\ \  ___/|  | \/
 \______  / ____| |___  /\___  >__|   
        \/\/          \/     \/       
 __      __                _____                      
/  \    /  \_____ ________/ ____\____ _______   ____  
\   \/\/   /\__  \\_  __ \   __\\__  \\_  __ \_/ __ \ 
 \        /  / __ \|  | \/|  |   / __ \|  | \/\  ___/ 
  \__/\  /  (____  /__|   |__|  (____  /__|    \___  >
       \/        \/                  \/            \/ 

new development platform

I got a new Debian LAMP
(my new debian VPS is now serving subaddiction.net)
________         ___.   .__                 
\______ \   ____ \_ |__ |__|_____     ____  
 |    |  \_/ __ \ | __ \|  |\__  \   /    \ 
 |    `   \  ___/ | \_\ \  | / __ \_|   |  \
/_______  /\___  >|___  /__|(____  /|___|  /
        \/     \/     \/         \/      \/ 

.____    .__                     
|    |   |__| ____  __ _____  ___
|    |   |  |/    \|  |  \  \/  /
|    |___|  |   |  \  |  />    < 
|_______ \__|___|  /____//__/\_ \
        \/       \/            \/

   _____                         .__            
  /  _  \ ______ _____     ____  |  |__   ____  
 /  /_\  \\____ \\__  \  _/ ___\ |  |  \_/ __ \ 
/    |    \  |_> >/ __ \_\  \___ |   Y  \  ___/ 
\____|__  /   __/(____  / \___  >|___|  /\___  >
        \/|__|        \/      \/      \/     \/ 

   _____           _________________  .____     
  /     \  ___.__./   _____/\_____  \ |    |    
 /  \ /  \<   |  |\_____  \  /  / \  \|    |    
/    Y    \\___  |/        \/   \_/.  \    |___ 
\____|__  // ____/_______  /\_____\ \_/_______ \
        \/ \/            \/        \__>       \/

__________  ___ _____________ 
\______   \/   |   \______   \
 |     ___/    ~    \     ___/
 |    |   \    Y    /    |    
 |____|    \___|_  /|____|    
                 \/           

makeForm - fast form code generation in jQuery js

<h2>Make form</h2>
<br />

<script type="text/javascript">

	
function addField(field_type, insert_point){
	
	var field_label=$('#field_label').val();
	var field_name=$('#field_name').val();
	var field_value=$('#field_value').val();
	
	var field_code = '';
	
	//the label
	field_code += '&lt;span class="form_label"&gt;'+field_label+'&lt;/span&gt;';
	field_code += '<br /\>';
	field_code += '&lt;br /&gt;';
	field_code += '<br /\>';
	
	switch (field_type)
	{
	case 'hidden':
	
	field_code += '&lt;input type="hidden" id="'+field_name+'" name="'+field_name+'" value="'+field_value+'" /&gt;';
	break;
	
	case 'text':
	field_code += '&lt;input type="text" id="'+field_name+'" name="'+field_name+'" value="'+field_value+'" /&gt;';
	break;
	
	case 'password':
	field_code += '&lt;input type="password" id="'+field_name+'" name="'+field_name+'" value="'+field_value+'" /&gt;';
	break;
	
	case 'select':
	field_code += '&lt;select id="'+field_name+'" name="'+field_name+'"&gt;';
	field_code += '<br /\>';
	field_code += '&lt;option value="'+field_value+'" selected=""&gt;'+field_value+'&lt;/option&gt;';
	field_code += '<br /\>';
	field_code += '&lt;/select&gt;';
	break;
	
	case 'textarea':
	field_code += '&lt;textarea id="'+field_name+'" name="'+field_name+'"&gt;'+field_value+'&lt;/textarea&gt;';
	break;
	
	case 'checkbox':
	field_code += '&lt;input type="checkbox" id="'+field_name+'" name="'+field_name+'[]" value="'+field_value+'" checked="" /&gt;';
	break;
	
	case 'radio':
	field_code += '&lt;input type="radio" id="'+field_name+'" name="'+field_name+'" value="'+field_value+'" checked="" /&gt;';
	break;
	
	case 'file':
	setformPost();
	$('#form_enctype').html('multipart/form-data');
	field_code += '&lt;input type="file" id="'+field_name+'" name="'+field_name+'" value="'+field_value+'" /&gt;';
	break;
	
	}
	field_code += '<br /\>';
	field_code += '&lt;br /&gt;';
	field_code += '<br /\>';
	
	switch(insert_point)
	{
		case 'prepend':
		$('#fieldset').prepend(field_code);
		break;
		case 'append':
		$('#fieldset').append(field_code);
		break;
	}
}

function setformPost(){
	$('#form_method').html('post');
}

function setformGet(){
	$('#form_method').html('get');
	$('#form_enctype').html('application/x-www-form-urlencoded');	
}

function clearForm(){
	$('#form_enctype').html();
	$('#fieldset').html();
}
</script>



<h3>Add Fields:</h3>
Field Label:
<br />
<input type="text" id="field_label" value="" />
<br />
Field Name:
<br />
<input type="text" id="field_name" value="" />
<br />
Field Value:
<br />
<input type="text" id="field_value" value="" />
<br />
<br />
Hidden Field
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('hidden', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('hidden', 'append')">Append</a>
<br />
Text Field
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('text', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('text', 'append')">Append</a>
<br />
Password Field
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('password', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('password', 'append')">Append</a>
<br />
Textarea
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('textarea', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('textarea', 'append')">Append</a>
<br />
Select
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('select', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('select', 'append')">Append</a>
<br />
Checkbox
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('checkbox', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('checkbox', 'append')">Append</a>
<br />
Radio Button
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('radio', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('radio', 'append')">Append</a>
<br />
File Selector
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('file', 'prepend')">Prepend</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a onclick="addField('file', 'append')">Append</a>
<br />
<br />
<a onclick="setformPost()">Set POST method</a>
<br />
<a onclick="setformGet()">Set GET method</a>
<br />
<a onclick="clearForm()">Clear Form</a>
<br />
<br />

<h3>Form Preview:</h3>
<div id="form_code" class="code">
	&lt;form id="" method="<span id="form_method">post</span>" enctype="<span id="form_enctype">application/x-www-form-urlencoded</span>" action=""&gt;
	<br />
	&lt;fieldset&gt;
	<div id="fieldset">
	</div>
	&lt;/fieldset&gt;
	<br />
	&lt;/form&gt;
</div>

WEB APPLICATIONS VULNERABILITY SCANNERS

http://sectools.org/tag/web-scanners/

http://w3af.sourceforge.net/

(or apt-get install w3af-console w3af)

SVN INTEGRATION IN NAUTILUS (LINUX FILE BROWSER)

http://rabbitvcs.org/

ROUGH CODE MANAGEMENT SAMPLE

user@machine:~/working_copies$ svnadmin create /home/user/repo/test
user@machine:~/working_copies$ svn checkout file:///home/user/repo/test
Checked out revision 0.
user@machine:~/working_copies$ cd test
user@machine:~/working_copies/test$ nano core
...
user@machine:~/working_copies/test$ svn add *
A         core
user@machine:~/working_copies/test$ svn commit
Adding         core
Transmitting file data .
Committed revision 1.



user@machine:~/working_copies$ svn checkout file:///home/user/repo/test_extended
Checked out revision 0.
user@machine:~/working_copies$ cd test_extended/
user@machine:~/working_copies/test_extended$ nano extension
...
user@machine:~/working_copies/test_extended$ svn add *
A         extension
user@machine:~/working_copies/test_extended$ svn commit
Adding         extension
Transmitting file data .
Committed revision 1.



user@machine:~/working_copies$ svn export file:///home/user/repo/test ./test_extended --force
A    test_extended
A    test_extended/core
Exported revision 1.
user@machine:~/working_copies$ cd test_extended
user@machine:~/working_copies/test_extended$ svn status
?       core
user@machine:~/working_copies/test_extended$ nano extension
...
user@machine:~/working_copies/test_extended$ nano core
...
user@machine:~/working_copies/test_extended$ svn commit
Sending        extension
Transmitting file data .
Committed revision 2.
user@machine:~/working_copies/test_extended$ exit

PROJECT MANAGEMENT RESOURCES: SVN SOFTWARE VERSION CONTROL

software version control:
http://subversion.apache.org/

powerful svn web frontend:
http://trac.edgewall.org/

svn windows tools:
http://tortoisesvn.tigris.org/

[or simply apt-get install svn && man svn]

OPEN SOURCED LIVE LOOPING INSTRUMENT FOR LINUX (PRE ALPHA RELEASE)

http://harryhaaren.blogspot.com/2012/01/luppp-source-opened-but-still-pre-alpha.html
Pages:
0 1 2 3 4 5 6 7 8 9 10 11 12