Paste your clipboard here

Page 5 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

bunker

Lifer
Apr 23, 2001
10,572
0
71
When I graduate and leave my job, I'm going to be sending out anonymous letters to the anti-piracy departments of various software companies informing of the rampant piracy in my current workplace. We have an internal FTP server that has thousands of dollars worth of pirated software along with CD key generators, *.txt documents with CD keys, etc...



I was quoting someone else in another thread
 

Zombie

Platinum Member
Dec 8, 1999
2,359
1
71
/* else if(GenPad_Ptr->get_layer() == "SIGNAL")
{

layer_Info *LayerInfoPtr = Head;
CString LayerName;
do
{
GeomHandle = 0;
if(LayerInfoPtr->get_Layer_Type())
{
if(LayerInfoPtr == Head)
{
if(PadstackList_Pointer->Layer_Type_Byte & !(1))
{
hr = ICMptr->GetTopLayer(&Layer_index);
hr = ICMptr->CreatePadFigure(0, &Padfig_Handle);
PadGeometryPtr = GenPad_Ptr->get_Geom_Info();
do
{
if(PadGeometryPtr->get_IsCircle())
{
GeomHandle = Draw_Round_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);
}
else
GeomHandle = Draw_Polygon_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);

hr = ICMptr->AddGeomToPadFigure(Padfig_Handle, GeomHandle);
PadGeometryPtr = PadGeometryPtr->getNextPtr();
}while(PadGeometryPtr);
hr = ICMptr->AddPadFigureToPadStack(Padstack_Handle, Padfig_Handle, Layer_index, Layer_index);
}
}
else if(LayerInfoPtr->getNextPtr() == NULL)
{
if(PadstackList_Pointer->Layer_Type_Byte & !(2))
{
hr = ICMptr->GetBottomLayer(&Layer_index);
hr = ICMptr->CreatePadFigure(0, &Padfig_Handle);
PadGeometryPtr = GenPad_Ptr->get_Geom_Info();
do
{
if(PadGeometryPtr->get_IsCircle())
{
GeomHandle = Draw_Round_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);
}
else
GeomHandle = Draw_Polygon_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);

hr = ICMptr->AddGeomToPadFigure(Padfig_Handle, GeomHandle);
PadGeometryPtr = PadGeometryPtr->getNextPtr();
}while(PadGeometryPtr);

hr = ICMptr->AddPadFigureToPadStack(Padstack_Handle, Padfig_Handle, Layer_index, Layer_index);
}
}
else
{
LayerName = LayerInfoPtr->get(1);
hr = ICMptr->ReferenceObject(REFTYPE_LAYER_NAME, CComBSTR(LayerName), &temp_handle, &userVal, &Stat);
Layer_index = (short)temp_handle;
hr = ICMptr->CreatePadFigure(0, &Padfig_Handle);
PadGeometryPtr = GenPad_Ptr->get_Geom_Info();
do
{
if(PadGeometryPtr->get_IsCircle())
GeomHandle = Draw_Round_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);
else
GeomHandle = Draw_Polygon_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);

hr = ICMptr->AddGeomToPadFigure(Padfig_Handle, GeomHandle);
PadGeometryPtr = PadGeometryPtr->getNextPtr();
}while(PadGeometryPtr);
hr = ICMptr->AddPadFigureToPadStack(Padstack_Handle, Padfig_Handle, Layer_index, Layer_index);
}
}
LayerInfoPtr = LayerInfoPtr->getNextPtr();
}while(LayerInfoPtr != NULL);
}
else if(GenPad_Ptr->get_layer() == "POWER")
{
layer_Info *LayerInfoPtr = Head;
CString LayerName;

do
{
GeomHandle = 0;
if(!LayerInfoPtr->get_Layer_Type())
{
if(LayerInfoPtr == Head)
{
if(PadstackList_Pointer->Layer_Type_Byte & !(1))
{
hr = ICMptr->GetTopLayer(&Layer_index);
hr = ICMptr->CreatePadFigure(0, &Padfig_Handle);
PadGeometryPtr = GenPad_Ptr->get_Geom_Info();
do
{
if(PadGeometryPtr->get_IsCircle())
{
GeomHandle = Draw_Round_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);
}
else
GeomHandle = Draw_Polygon_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);

hr = ICMptr->AddGeomToPadFigure(Padfig_Handle, GeomHandle);
PadGeometryPtr = PadGeometryPtr->getNextPtr();
}while(PadGeometryPtr);
hr = ICMptr->AddPadFigureToPadStack(Padstack_Handle, Padfig_Handle, Layer_index, Layer_index);
}
}
else if(LayerInfoPtr->getNextPtr() == NULL)
{
if(PadstackList_Pointer->Layer_Type_Byte & !(2))
{
hr = ICMptr->GetBottomLayer(&Layer_index);
hr = ICMptr->CreatePadFigure(0, &Padfig_Handle);
PadGeometryPtr = GenPad_Ptr->get_Geom_Info();
do
{
if(PadGeometryPtr->get_IsCircle())
{
GeomHandle = Draw_Round_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);
}
else
GeomHandle = Draw_Polygon_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);

hr = ICMptr->AddGeomToPadFigure(Padfig_Handle, GeomHandle);
PadGeometryPtr = PadGeometryPtr->getNextPtr();
}while(PadGeometryPtr);
hr = ICMptr->AddPadFigureToPadStack(Padstack_Handle, Padfig_Handle, Layer_index, Layer_index);
}
}
else
{
LayerName = LayerInfoPtr->get(1);
hr = ICMptr->ReferenceObject(REFTYPE_LAYER_NAME, CComBSTR(LayerName), &temp_handle, &userVal, &Stat);
Layer_index = (short)temp_handle;
hr = ICMptr->CreatePadFigure(0, &Padfig_Handle);
PadGeometryPtr = GenPad_Ptr->get_Geom_Info();
do
{
if(PadGeometryPtr->get_IsCircle())
GeomHandle = Draw_Round_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);
else
GeomHandle = Draw_Polygon_Pads(PadGeometryPtr->get_Pad_GeomInfo(), Layer_index);

hr = ICMptr->AddGeomToPadFigure(Padfig_Handle, GeomHandle);
PadGeometryPtr = PadGeometryPtr->getNextPtr();
}while(PadGeometryPtr);

hr = ICMptr->AddPadFigureToPadStack(Padstack_Handle, Padfig_Handle, Layer_index, Layer_index);
}
}
LayerInfoPtr = LayerInfoPtr->getNextPtr();

}while(LayerInfoPtr != NULL);
}*/


ooops had to edit the code comments
 

Tetsuo

Lifer
Oct 20, 2002
10,908
13
81
shibby

<?php
error_reporting(7);
require("./global.php");
adminlog();
cpheader();
echo "Custom Postbit Hack by Xenon Version 1.00

";

if (isset($action)==0) {
$action="view";
}
// ###################### Start Add #######################
if($action=="add") {
//$postbit = $DB_site->query_first("SELECT * FROM custompostbit WHERE postbitid=$postbitid");
doformheader("admincpb","insert");
maketableheader("Add custom postbit");
makeinputcode("Userids (separate with spaces)","userid");
makeinputcode("Usergroupids (separate with spaces)","usergroupid");
maketextareacode("Content","content",stripslashes(gettemplate('postbit')),20,80);
doformfooter();
}
// ###################### Start Insert #######################
if ($HTTP_POST_VARS['action']=="insert") {
$DB_site->query("INSERT INTO custompostbit (postbitid,userid,usergroupid,content,validated) VALUES (NULL,' ".trim($userid)." ',' ".trim($usergroupid)." ','".addslashes($content)."',1)");
echo "<p>Record added!</p>";
$action="view";
}
// ###################### Start Preview #######################
if($action=="preview") {
doformheader("","");
$custompostbit=$DB_site->query_first("SELECT custompostbit.*,user.username FROM custompostbit LEFT JOIN user ON (user.userid=custompostbit.author) WHERE custompostbit.postbitid=$postbitid");
maketableheader("Custom Postbit #".$custompostbit[postbitid]." by $custompostbit[username]");
$post=$bbuserinfo;
$post[dateline]=time();
$post[showsignature]=1;
$post[pagetext]="Thats a postbit test\n\nHow does it look?";
$post[ip]="111.111.11.11";
$post[postbitid]=0;
$postbit=getpostbit($post,$custompostbit[postbitid]);
$postbit = str_replace("{imagesfolder}","../"."{imagesfolder}",$postbit);
echo "<tr class='".getrowbg()."'><td colspan=2 align='center'>";
$gzipoutput=0;
echo dovars($postbit,0);
echo "</td></tr>";
dotablefooter();
$action="edit";

}
// ###################### Start Edit #######################
if($action=="edit") {
$postbit = $DB_site->query_first("SELECT * FROM custompostbit WHERE postbitid=$postbitid");
doformheader("admincpb","doedit");
maketableheader("Edit Postbit #".$postbitid);
makehiddencode("postbitid",$postbitid);
makeinputcode("Author","author",$postbit[author]);
if($postbit[validated]!=1) makeyesnocode("Validate?","validate",0);
makeinputcode("Userids (separate with spaces)","userid",$postbit[userid]);
makeinputcode("Usergroupids (separate with spaces)","usergroupid",$postbit[usergroupid]);
maketextareacode("Content","content",$postbit[content],20,80);
doformfooter();
}
// ###################### Start Update #######################
if ($HTTP_POST_VARS['action']=="doedit") {
$DB_site->query("UPDATE custompostbit SET ".iif($validate==1,"validated=1,","")."author='$author',content='".addslashes($content)."',userid=' ".trim($userid)." ',usergroupid=' ".trim($usergroupid)." ' WHERE postbitid=$postbitid");
echo "<p>Record updated!</p>";
$action="view";
}
// ###################### Start Remove #######################
if ($action=="remove") {
doformheader("admincpb","kill");
makehiddencode("postbitid",$postbitid);
maketableheader("Confirm deletion");
makedescription("Are you sure you want to delete this custom postbit?");
doformfooter("Yes","",2,"No");
}
// ###################### Start Kill #######################
if ($HTTP_POST_VARS['action']=="kill") {
$DB_site->query("DELETE FROM custompostbit WHERE postbitid=$postbitid");
$DB_site->query("UPDATE user SET postbitid=0 WHERE postbitid=$postbitid");
echo "<p>Deleted!</p>";
$action="view";
}
// ###################### Start Validate #######################
if ($action=="validate") {
$unvalid=$DB_site->query_first("SELECT COUNT(*) AS number FROM custompostbit WHERE validated=0");
if($unvalid[number]==0) {
echo "<p>Nothing to do!</p>";
$action="view";
} else {
$custompostbits=$DB_site->query("SELECT custompostbit.postbitid,custompostbit.content,user.username FROM custompostbit LEFT JOIN user ON (user.userid=custompostbit.author) WHERE validated=0");

$counter=0;
doformheader("admincpb","dovalidate");
maketableheader("Validate Custom Postbits");
while($postbit=$DB_site->fetch_array($custompostbits)) {
$counter++;
maketextareacode("Content
".makelinkcode("preview","admincpb.php?s=$session[sessionhash]&action=preview&postbitid=$postbit[postbitid]"),"content[$counter]",$postbit[content],20,80);
makehiddencode("postbitid[$counter]",$postbit[postbitid]);
makedescription("Author: ".$postbit[username]." <input type=\"checkbox\" name=\"kill[$counter]\" value=\"1\"> click here to delete this postbit");
makeyesnocode("Validate","validate[$counter]",0);
makehrcode();
}
makehiddencode("amount",$counter);
makehiddencode("allpb",$unvalid[number]);
doformfooter();
}
}
// ###################### Start doValidate #######################
if ($HTTP_POST_VARS['action']=="dovalidate") {
$validated = 0;
$deleted = 0;
for($counter=1;$counter<=$amount;$counter++) {
if($validate[$counter]==1 and $kill[$counter]!=1) {
$validated++;
$DB_site->query("UPDATE custompostbit SET validated=1 WHERE postbitid=".$postbitid[$counter]);
} elseif($validate[$counter]==0 and $kill[$counter]==1) {
$deleted++;
$DB_site->query("DELETE FROM custompostbit WHERE validated=0 AND postbitid=".$postbitid[$counter]);
}
}
echo "<p>$validated validated, $deleted deleted! ".($allpb-$validated-$deleted)." remain unvalidated!</p>";
$action="view";
}

// ###################### Start Overview #######################
if($action=="view") {
$unvalid=$DB_site->query_first("SELECT COUNT(*) AS number FROM custompostbit WHERE validated=0");
if ($unvalid[number]>0) echo "<a href=\"admincpb.php?s=$session[sessionhash]&action=validate\">There are currently ".$unvalid[number]." custom postbits to validate!</a>

";
doformheader("","");
maketableheader("Custom Postbits");
$post=$bbuserinfo;
$post[dateline]=time();
$post[showsignature]=1;
$post[pagetext]="Thats a postbit test\n\nHow does it look?";
$post[ip]="111.111.11.11";
$post[postbitid]=0;
$custompostbits=$DB_site->query("SELECT custompostbit.*,user.username FROM custompostbit LEFT JOIN user ON (user.userid=custompostbit.author) WHERE validated=1");
$counter=1;
while($custompostbit=$DB_site->fetch_array($custompostbits)) {
$postbit=getpostbit($post,$custompostbit[postbitid]);
$postbit = str_replace("{imagesfolder}","../"."{imagesfolder}",$postbit);
echo "<tr class='".getrowbg()."'><td>";
$gzipoutput=0;
echo dovars($postbit,0);
echo "</td><td>Postbit-id: $custompostbit[postbitid]
User-ids: $custompostbit[userid]
Usergroup-ids: $custompostbit[usergroupid]";
echo "
Author: ".iif($custompostbit[author]==0,"Admin created",$custompostbit[username]);
echo "
".makelinkcode("Edit","admincpb.php?s=$session[sessionhash]&action=edit&postbitid=$custompostbit[postbitid]");
echo " ".makelinkcode("Remove","admincpb.php?s=$session[sessionhash]&action=remove&postbitid=$custompostbit[postbitid]");
echo "</td></tr>";
$counter++;
}
dotablefooter();
}

cpfooter();
?>
 

Tetsuo

Lifer
Oct 20, 2002
10,908
13
81
Originally posted by: WarmAndSCSI
630730438750 ^ FedEx waybill number

<FONT color=#425a94>The team at ION WebDesign is comprised of two elite programmers/system administrators who will keep your website running 24/7 and give you some of the best tech support available.



Slow server you got there </FONT>
 

dinde

Senior member
Jan 26, 2003
341
0
0
"uh, i ddos'd and insulted you. but i wnana make up and be friends again" get real dumbass

--------------------

exact clipboard.. how, i dont know. must be old
 

kag

Golden Member
May 21, 2001
1,677
0
76
www.boloxe.com
'', '', 'Shippagan', '190 rue principale', 'Guillaume', '555-1212', 'me@hotmail.com', 'Canadien', '45', '40', '1600', '100', '200', '2000', '6', '2', '2', '0', '0', '0', 'Electrical', '80000', 'Beautiful house!', 'house.jpg', '0000-00-00', '0')
 

TheBoyBlunder

Diamond Member
Apr 25, 2003
5,742
1
0
Your email message has been idle and this link has become inactive. To access the link, close this window and return to your MSN Hotmail Message. Then click the browser's Refresh button or close your message and reopen it.
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
well if everybody says it like e-leet then it is e-leet. i've never heard of i-leet
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |