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
Wednesday, December 18, 2013
Starting with Python
References
[1] http://www.vogella.com/articles/Python/article.html
[2] Python http://www.python.org/
Friday, December 13, 2013
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
+-- pango http://ftp.gnome.org/pub/gnome/sources/pango/
+--
+-- gdk pixbuf http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/
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/
Friday, November 22, 2013
PHP & IIS7.5 Topics
My Server have:
1) Windows 2008 R2
2) IIS 7.5
I Installed using next resources:
[1] PHP http://windows.php.net/download/
[2] Microsoft 2008 C++ Runtime http://www.microsoft.com/en-us/download/details.aspx?id=30679
References:
[1] (Guide) http://www.iisunderground.com/installing-php-on-iis/
[2] http://sqlfromhell.wordpress.com/2009/12/21/instalando-o-php-no-iis-7-5/
[3] Include WordPress http://zousu.com/wp/install-wordpress-with-iis-7-php-mysql/
1) Windows 2008 R2
2) IIS 7.5
I Installed using next resources:
[1] PHP http://windows.php.net/download/
[2] Microsoft 2008 C++ Runtime http://www.microsoft.com/en-us/download/details.aspx?id=30679
References:
[1] (Guide) http://www.iisunderground.com/installing-php-on-iis/
[2] http://sqlfromhell.wordpress.com/2009/12/21/instalando-o-php-no-iis-7-5/
[3] Include WordPress http://zousu.com/wp/install-wordpress-with-iis-7-php-mysql/
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
#
..continue
Notes:
If you mean MS-DOS then there's only
If you mean NT(XP/2K/7/Vista)'s Command Prompt you can use
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
> 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/
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
References
[1] http://mp3.about.com/od/essentialsoftware/tp/Top_Vocal_Removers.htm
Monday, November 11, 2013
Windows 7 Language Packs Offline
Both resources have reference to same files, then i think that's ok.
Resources:
[1] Windows 7 RTM http://www.askvg.com/direct-download-link-official-links-to-download-mui-language-packs-for-windows-vista-and-7-both-32-bit-and-64-bit-versions-including-sp1-sp2/
[2] Windows 7 http://www.rtwincustomize.net/index.php?option=com_content&id=1360
Resources:
[1] Windows 7 RTM http://www.askvg.com/direct-download-link-official-links-to-download-mui-language-packs-for-windows-vista-and-7-both-32-bit-and-64-bit-versions-including-sp1-sp2/
[2] Windows 7 http://www.rtwincustomize.net/index.php?option=com_content&id=1360
Tuesday, November 05, 2013
Thursday, October 17, 2013
Monday, October 14, 2013
Transport Layer Protection - ASP.NET
Tools:
[1] asafaweb.com
References:
[1] OWASP Top 10 for .NET developers part 9: Insufficient Transport Layer Protection
http://www.troyhunt.com/2011/11/owasp-top-10-for-net-developers-part-9.html
[2] ASP.NET session hijacking with Google and ELMAH
http://www.troyhunt.com/2012/01/aspnet-session-hijacking-with-google.html
[3] Ramping up ASP.NET session security
http://www.dotnetnoob.com/2013/07/ramping-up-aspnet-session-security.html
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
<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
Friday, September 20, 2013
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
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...