|
1322
|
Programación / Programación General / ShellExecute Failed Windows 7 sobre raiz SO notepad++
|
en: 22 Junio 2011, 00:37 am
|
Cuando trato de editar archivos que esten abiertos, o que esten dentro de la raiz del Sistema Operativo, me sale un aviso de que tal vez otro programa tenga el script abierto, esto se soluciona estableciendo la ejecucion del NOtepad++ como Administrador, pero al hacer esto sale el error: El error tambien desaparece si uno lo abre primero desde inicio/programas/notepad++ y clic derecho administrador, y despues se desplaza hasta los archivos de unidad raiz y le da clic derecho, edit with notepad++
|
|
|
1323
|
Programación / Desarrollo Web / Advanced Carrousel GIF + HTML USEMAP , no mas flash, no mas java.
|
en: 12 Junio 2011, 05:42 am
|
COmo bien sabran uno puede usar las etiquetas: <img border="0" width="887" height="62" usemap="#Map2" src="../../../images1/logos.jpg"> <map id="Map2" name="Map2"> <area target="_blank" href="http://www.unapagina.com/" coords="11,16,60,47" shape="rect"> </map>
se podria convinar eso, con un carrousel contenido dentro de un gif para crear un carrousel usando solo html. es solo una idea, y aun no se si se puede mapear gifs, jejejejejje. la cosa es que como los elementos quedarian moviendose dentro del gif, tocaria yo diria que crear sesiones clickeables, que cambiaran de link cada cierto tiempo calculando el tiempo exacto en que pasaria cada enlace(imagen) por el cuadro clickeable.
|
|
|
1326
|
Programación / Bases de Datos / Re: KEY FK_comment_post (post_id) en MS SQL SERVER
|
en: 10 Junio 2011, 03:40 am
|
el codigo completo, del maravilloso YII... juazzzz -- -- Blog related queries. --
CREATE TABLE IF NOT EXISTS `blog_comment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `content` text NOT NULL, `status` int(11) NOT NULL, `create_time` int(11) DEFAULT NULL, `author` varchar(128) NOT NULL, `email` varchar(128) NOT NULL, `url` varchar(128) DEFAULT NULL, `post_id` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `FK_comment_post` (`post_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_comment` (`id`, `content`, `status`, `create_time`, `author`, `email`, `url`, `post_id`) VALUES (1, 'This is a test comment.', 2, 1230952187, 'Tester', 'tester@example.com', NULL, 2);
--
CREATE TABLE IF NOT EXISTS `blog_lookup` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(128) NOT NULL, `code` int(11) NOT NULL, `type` varchar(128) NOT NULL, `position` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_lookup` (`id`, `name`, `code`, `type`, `position`) VALUES (1, 'Draft', 1, 'PostStatus', 1), (2, 'Published', 2, 'PostStatus', 2), (3, 'Archived', 3, 'PostStatus', 3), (4, 'Pending Approval', 1, 'CommentStatus', 1), (5, 'Approved', 2, 'CommentStatus', 2);
--
CREATE TABLE IF NOT EXISTS `blog_post` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(128) NOT NULL, `content` text NOT NULL, `tags` text, `status` int(11) NOT NULL, `create_time` int(11) DEFAULT NULL, `update_time` int(11) DEFAULT NULL, `author_id` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `FK_post_author` (`author_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_post` (`id`, `title`, `content`, `tags`, `status`, `create_time`, `update_time`, `author_id`) VALUES (1, 'Welcome!', 'This blog system is developed using Yii. It is meant to demonstrate how to use Yii to build a complete real-world application. Complete source code may be found in the Yii releases.\r\n\r\nFeel free to try this system by writing new posts and posting comments.', 'yii, blog', 2, 1230952187, 1230952187, 1), (2, 'A Test Post', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', 'test', 2, 1230952187, 1230952187, 1);
--
CREATE TABLE IF NOT EXISTS `blog_tag` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(128) NOT NULL, `frequency` int(11) DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_tag` (`id`, `name`, `frequency`) VALUES (1, 'yii', 1), (2, 'blog', 1), (3, 'test', 1);
--
CREATE TABLE IF NOT EXISTS `blog_user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(128) NOT NULL, `password` varchar(128) NOT NULL, `salt` varchar(128) NOT NULL, `email` varchar(128) NOT NULL, `profile` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
INSERT INTO `blog_user` (`id`, `username`, `password`, `salt`, `email`, `profile`) VALUES (1, 'admin', '9401b8c7297832c567ae922cc596a4dd', '28b206548469ce62182048fd9cf91760', 'webmaster@example.com', NULL), -- password admin (2, 'demo', '2e5c7db760a33498023813489cfadc0b', '28b206548469ce62182048fd9cf91760', 'webmaster@example.com', NULL); -- password demo
-- -- Rights related queries. --
CREATE TABLE IF NOT EXISTS `blog_authitem` ( `name` varchar(64) NOT NULL, `type` int(11) NOT NULL, `description` text, `bizrule` text, `data` text, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_authitem` (`name`, `type`, `description`, `bizrule`, `data`) VALUES ('Admin', 2, NULL, NULL, 'N;'), ('Authenticated', 2, 'Authenticated user', NULL, 'N;'), ('Comment.*', 1, 'Access all comment actions', NULL, 'N;'), ('Comment.Approve', 0, 'Approve comments', NULL, 'N;'), ('Comment.Delete', 0, 'Delete comments', NULL, 'N;'), ('Comment.Update', 0, 'Update comments', NULL, 'N;'), ('CommentAdministration', 1, 'Administration of comments', NULL, 'N;'), ('Editor', 2, 'Editor', NULL, 'N;'), ('Guest', 2, 'Guest user', NULL, 'N;'), ('Post.*', 1, 'Access all post actions', NULL, 'N;'), ('Post.Admin', 0, 'Administer posts', NULL, 'N;'), ('Post.Create', 0, 'Create posts', NULL, 'N;'), ('Post.Delete', 0, 'Delete posts', NULL, 'N;'), ('Post.Update', 0, 'Update posts', NULL, 'N;'), ('Post.View', 0, 'View posts', NULL, 'N;'), ('PostAdministrator', 1, 'Administration of posts', NULL, 'N;'), ('PostUpdateOwn', 0, 'Update own posts', 'return Yii::app()->user->id==$params["userid"];', 'N;');
--
CREATE TABLE IF NOT EXISTS `blog_authitemchild` ( `parent` varchar(64) NOT NULL, `child` varchar(64) NOT NULL, PRIMARY KEY (`parent`,`child`), KEY `child` (`child`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_authitemchild` (`parent`, `child`) VALUES ('Editor', 'Authenticated'), ('CommentAdministration', 'Comment.*'), ('Editor', 'CommentAdministration'), ('Authenticated', 'CommentUpdateOwn'), ('Authenticated', 'Guest'), ('PostAdministrator', 'Post.Admin'), ('Authenticated', 'Post.Create'), ('PostAdministrator', 'Post.Create'), ('PostAdministrator', 'Post.Delete'), ('PostAdministrator', 'Post.Update'), ('Guest', 'Post.View'), ('PostAdministrator', 'Post.*'), ('Editor', 'PostAdministrator'), ('Authenticated', 'PostUpdateOwn');
--
CREATE TABLE IF NOT EXISTS `blog_authassignment` ( `itemname` varchar(64) NOT NULL, `userid` varchar(64) NOT NULL, `bizrule` text, `data` text, PRIMARY KEY (`itemname`,`userid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_authassignment` (`itemname`, `userid`, `bizrule`, `data`) VALUES ('Admin', '1', NULL, 'N;'), ('Authenticated', '2', NULL, 'N;');
--
CREATE TABLE IF NOT EXISTS `blog_rights` ( `itemname` varchar(64) NOT NULL, `type` int(11) NOT NULL, `weight` int(11) DEFAULT NULL, PRIMARY KEY (`itemname`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `blog_rights` (`itemname`, `type`, `weight`) VALUES ('Authenticated', 2, 1), ('Editor', 2, 0), ('Guest', 2, 2);
--
ALTER TABLE `blog_authassignment` ADD CONSTRAINT `blog_authassignment_ibfk_1` FOREIGN KEY (`itemname`) REFERENCES `blog_authitem` (`name`) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE `blog_authitemchild` ADD CONSTRAINT `blog_authitemchild_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `blog_authitem` (`name`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `blog_authitemchild_ibfk_2` FOREIGN KEY (`child`) REFERENCES `blog_authitem` (`name`) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE `blog_rights` ADD CONSTRAINT `blog_rights_ibfk_1` FOREIGN KEY (`itemname`) REFERENCES `blog_authitem` (`name`) ON DELETE CASCADE ON UPDATE CASCADE;
|
|
|
1328
|
Foros Generales / Noticias / PHISHING BANCOLOMBIA - FRAUDE BANCARIO
|
en: 9 Junio 2011, 16:58 pm
|
Analisis del ataque phishing lanzado a los clientes de BANCOLOMBIA, ayer 8 de Junio. No abran el mensaje:BANCOLOMBIA ALERTA URGENTE! CUENTA BLOQUEADA SEGUNDO AVISO COD 0847
Es un intento de robarse tu informacion personal. Para mas detalles puedes ver la noticia en video. Este video es un adelanto del material que te estamos preparando, a modo de información rapida para prevenir a las posibles vitimas de este fraude. Este Articulo como tal se encuentra en redacción, el 10 de Junio publicaremos el manual pdf detallado resultado del analisis de nuestro equipo de profesionales, sobre este ataque, asi mismo un manual de implementación de seguridad web que pone fin al phishing.(Tecnica de protección desarrollada en los laboratorios de Sistemas y Controles). Para ver un avance de la documentación escrita anexa al video visita:https://docs.google.com/document/d/1IDBTAxFDOH6Aag5CZ2uDQ5H-VkaPsBlKayq7lb_ZQ8g/edit?hl=en_US Información del atacantehttp://whois.domaintools.com/186.97.67.1[primer proxy] http://rapdiccion.co.cc/www?=security [segundo proxy] http://admin.colombiasegura.cz.cc/www.php [ancla de ip dinamica]http://186.97.67.1/https/bancolombia.olb.todo1.com/olb/Init.php
El/Los atacantes estan usando el metodo de conexion inversa, para redireccionar en base a dos ip fijas, el redireccionamiento hacia una ip "dinamica". La pagina web se hospeda haciendo uso de un modem movil de tigo, que registra en la ciudad de Cali. Ultima ubicacion GPS conocida del modem:Latitud : 4.6 Longitud : -74.0833 http://maps.google.es/?ie=UTF8&source=embed&ll=4.6,-74.0833&spn=0.02387,0.038581&z=15FUENTE DE LA NOTICIA: http://www.sistemasycontroles.net/foro/index.php/topic,271.0.html
|
|
|
|
|
|
|