Friday, January 17, 2014

Router HG520s - Comandos


>show all
>show lan
>show wan node 0l

>ip address | status | ping xxx.xxx.xxx.xxx


Comandos Telnet:
Desconectar: ip detach ppp-0
Conectar: ip attach ppp-0 ppp-0
Logout: user logout


Referencias
http://www.networktutorials.info/router_commands.html
http://www.taringa.net/posts/ebooks-tutoriales/2211110/Como-routear-un-MODEM-Huawei-SmartAx-MT880-+-Configurar-Red.html

Cisco
http://www.cisco.com/en/US/docs/routers/access/700/software/command/reference/700CRsys.html

Thursday, January 02, 2014

Eliminar redirección a megaline.co


Iniciar cmd como Administrador (ejecutar los dos comandos siguientes)

> ipconfig /flushdns
>netsh winsock reset

Reiniciar PC


GNU utilities for Win32


Same Linux Commands over Windows ( grep, cat,...)

Resources:
[1] http://unxutils.sourceforge.net/

Friday, December 13, 2013

OT 639G

http://www.startimes.com/f.aspx?t=33257571

Thursday, November 28, 2013

Linux Multimedia BackTrack-Ubuntu

RMVB
http://leandronunes.org/2009/04/22/rmvb-no-linux-sem-complicacao/
Codecshttp://www.vivaolinux.com.br/artigo/Rodando-videos-.rmvb-no-Linux


1) Mp3 Player (xmms)
http://tombott.com/install_xmms_on_ubuntu_8.04_8.10_9.04_9.10_10.04_last.fm_scrobble


1.1) if you have dependency problems

[1.1.a] http://howik.com/Install_XMMS_on_Ubuntu_10.04
[1.1.b] https://launchpad.net/ubuntu/hardy/i386/libglib1.2ldbl/1.2.10-19build1
[1.2.c] https://launchpad.net/ubuntu/+source/gtk+1.2/1.2.10-18.1build2/+build/484191

if xmms don't play mp3, showing next message:

** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such file or directory

then, change preferences:


xmms --> Preferences --> Audio I/O Plugins --> OSS Driver 1.2.10 --> Configure --> Audio Device

was changed from "Default (Intel HD Audio play output)" to "Use alternate device: /dev/dsp0"


2) MPLAYER
http://www.backtrack-linux.org/forums/showthread.php?t=25037

2.1) MPlayer dependency

gtk http://www.gtk.org/download/linux.php
  |
 +-- glib http://ftp.acc.umu.se/pub/gnome/sources/glib/
       |
      +-- libffi https://launchpad.net/ubuntu/+source/libffi/3.0.9-1

 +-- atk http://ftp.gnome.org/pub/gnome/sources/atk/
 +-- cairo https://launchpad.net/ubuntu/+source/cairo/1.8.10-2ubuntu1
    + https://launchpad.net/ubuntu/+source/pixman/0.24.4-1
 +-- pango http://ftp.gnome.org/pub/gnome/sources/pango/
 +--
 +-- gdk pixbuf http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/

Tuesday, November 19, 2013

Wednesday, November 13, 2013

Who using my port 80/8080/8085/Other?

Windows Plataform

> netstat -aon  | grep "LIST"
> netstat -aon  | grep ":80" | grep "LIST"

*Get pid (Process id) and execute next command

>tasklist | grep "xxxx" 

* xxxx is pid value

Resume for W7


>netstat -aon  | grep ":80" | findstr "LIST"
>tasklist | findstr "xxxx" 
Linux Plataform
#lsof

or

#netstat -tulpn | grep :80

..continue


Notes:
If you mean MS-DOS then there's only FIND, as far as I know. But it's an ancient OS not used anymore.
If you mean NT(XP/2K/7/Vista)'s Command Prompt you can use find, findstr and grep if you download GnuWin32.
The basic differences are that findstr has some regex support. Grep supports regex best.

References:
[1] http://superuser.com/questions/300815/command-prompt-msdos-windows-7-grep-equivalent


Tuesday, November 12, 2013

Tools for Video Edit

1) Any Video Converter Ultimate
     flv/mp4 -> mpg/avi (common requirement)

2) Virtual Dub [Video Editor +/- Audio stream]
     http://www.free-codecs.com/virtualdub-mpeg2_download.htm

3) Audacity [Audio Editor]+ Pluging (Center Pan Remover/Vocal remover )
     http://audacity.sourceforge.net/






Vocal/Voice Remove Apps

I think Audicity pluging is best of below list

References
[1] http://mp3.about.com/od/essentialsoftware/tp/Top_Vocal_Removers.htm

Friday, September 27, 2013

SalesForce Security Revision - SSL Configuration Vulnerability



Resources:
[1] Setting Tool https://www.nartac.com/Products/IISCrypto/Default.aspx
[2] Scanner https://www.ssllabs.com/ssldb/index.html (Used by SalesForce Security Revision process)
[3] SSL Info http://www.serversniff.net

Asp.Net Insecure Session Cookie Handling Vulnerability

Add next code in c:\inetpub\wwwroot\web.config


    <system.web>
      <httpCookies
             httpOnlyCookies="true"
             requireSSL="true" />
    </system.web>


References:
[1] http://www.codeproject.com/Articles/291562/Asp-net-web-application-Security-Review-Dos-Dont
[2] http://forums.asp.net/t/1756774.aspx
[3] http://www.enterprisenetworkingplanet.com/netsecur/ten-tips-to-make-your-ssl-secure.html
[4] https://www.owasp.org/index.php/HttpOnly
[5] http://xss.cx/examples/dork/programming/ssl-cookie-without-secure-flag-set-example.html#1.7


IIS Custom Errors



1. Make html with custom message, and save that on any directory
    c:\inetpub\wwwroot\custom_errors\404.html
    c:\inetpub\wwwroot\custom_errors\500.html

2. Alter web.config of c:\inetpub\wwwroot, add next content.

<system.webServer> 
<httpErrors errorMode="Custom" existingResponse="Auto" defaultResponseMode="ExecuteURL">
  <clear />
  <error statusCode="404" path="/custom_errors/404.html" responseMode="ExecuteURL" />
  <error statusCode="500" path="/custom_errors/500.html" responseMode="ExecuteURL" /> 
</httpErrors> 
</system.webServer> 



References:
[1] http://stackoverflow.com/questions/434272/iis7-overrides-customerrors-when-setting-response-statuscode
[2] http://stackoverflow.com/questions/619895/how-can-i-properly-handle-404-in-asp-net-mvc
[3] http://stackoverflow.com/questions/717628/asp-net-mvc-404-error-handling

Ubuntu Forware port 80

  #!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables -t nat -A PREROUTING -i eth0 -p tc...